Questions tagged [meta-inf]

The META-INF directory related to .jar file contain the manifest (list of contents) of a jar and is created when you write a jar file.

125 questions
0
votes
1 answer

context.xml in Tomcat without DB password

I have a servlet application running on Tomcat 7 and wish to connect to MySQL locally. My local MySQL user does not have a password, and I wish to keep it that way for convenience. However, if I do not use the password attribute under Resource in…
whirlwin
  • 16,044
  • 17
  • 67
  • 98
0
votes
2 answers

Where is meta-inf directory?

I'm working with JPA and Hibernate. Where is meta-inf directory in Netbeans 7.x? For some reazon it seems to not be present.
user1625893
  • 57
  • 1
  • 5
0
votes
2 answers

Howto: Locate a Resource file within a JAR file without knowing the name and location upfront

General problem: finding/locating a resource file (document.xml) within a JAR file that has no fixed position where it can be found and even the name of the file is unknown upfront. Situation: two JavaSE projects, both create own JAR file. Jar-A…
user504342
  • 945
  • 2
  • 16
  • 36
0
votes
1 answer

Error : The markup in the document following the root element must be well-formed

The following is my context.xml file in the META-INF directory of my project :
Suhail Gupta
  • 22,386
  • 64
  • 200
  • 328
-2
votes
1 answer

Why is BufferedOutputStream looking for META-INF/MANIFEST.MF?

I'm writing a program that needs to extract a zip file. I have code that should work, but for some reason throws a java.io.FileNotFoundException. Here is the method: private static void unzip() { ZipInputStream input = null; try { …
smithb99
  • 1
  • 1
  • 3
1 2 3
8
9