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
2
votes
2 answers

Can META-INF be used in an exploded classes folder (e.g. not within a JAR)?

I would like to overide the META-INF/services there, will it work without a jar?
Eran Medan
  • 44,555
  • 61
  • 184
  • 276
2
votes
2 answers

jarsigner: java.lang.SecurityException:SHA1 digest error for META-INF/CERT.RSA android error while updating application

I am getting this error while i am updating my android application, i tried signing new Application on same system there is no problem with that, when updating the same application i got this error. I need help, i searched but nothing worked for…
piyush singh
  • 395
  • 8
  • 24
2
votes
1 answer

INSTALL_PARSE_FAILED_NO_CERTIFICATES on Android L

I've added an empty file to the META-INF of my apk, For Android 4.3, it was installed as usual, but when when i installed it on Android 5.0.2, it failed with INSTALL_PARSE_FAILED_NO_CERTIFICATES.
B. Chen
  • 21
  • 4
2
votes
1 answer

How do I copy a file into my WAR's META-INF directory?

I’m using Gradle 2.7. I would like to copy an environment-specific file (context.xml) into my WAR’s META-INF directory (which is at the same level as WEB-INF). I have this task set up in my build.gradle file // Copy context.xml into the…
Dave
  • 15,639
  • 133
  • 442
  • 830
2
votes
3 answers

How to read properties file from meta-inf folder from a POJO

How to read properties file from meta-inf folder in a web application from plain java class.
sahoo1989
  • 21
  • 2
  • 6
2
votes
0 answers

Removing a jar files META-INF folder in Java

I am using the following method to filter out META-INF folder and its contents: public static void copyWithoutMetaInf(final String originalZip, final String newZip) throws IOException { final ZipInputStream zip = new ZipInputStream(new…
Hugh Macdonald
  • 143
  • 1
  • 12
2
votes
1 answer

Domino Designer error: "Resource already exists on disk" for service config file

we have a XPage project in the Domino Designer. The project contains a file [database.nsf]/Code/Java/META-INF/services/com.ibm.xsp.core.events.ApplicationListener, which configures an com.ibm.xsp.application.events.ApplicationListener2 (same with…
2
votes
3 answers

No .class file in the jar when adding a META-INF/services directory

I've just started to use Maven and I am having trouble creating a JAR of all my classes. In fact, I have to include a service located at WEB-INF/services/javax.annotation.processing.Processor I've tested different issues with this problem and it…
MadJlzz
  • 767
  • 2
  • 13
  • 35
2
votes
1 answer

Overriding JSP files in jar META-INF/resources unpredictable

I'm building a modular web application which has some Spring components packed inside a jar dependency (different module). This jar also contains some JSP resources like: - Module + src/main/resources/META-INF/resources/module/*.jsp Now I…
Bart
  • 17,070
  • 5
  • 61
  • 80
2
votes
6 answers

Apache Tomcat 7.0.14:build-impl.xml:1111: The module has not been deployed

While deploying a project in Netbeans7.4 It is not deploying project in Apache Tomcat 7.0.14 am it is showing following E:\Project\atom\nbproject\build-impl.xml:1111: The module has not been deployed. See the server log for details. BUILD FAILED…
xrcwrn
  • 5,339
  • 17
  • 68
  • 129
2
votes
2 answers

no default META-INF folder in Netbeans project -- where to add files to?

How do I get Netbeans to add javamail.providers into the META-INF folder (which I manually added) without getting into the weeds in the ant build file? It's kinda odd, because manifest.mf ends up in the META-INF folder in the resulting jar…
Thufir
  • 8,216
  • 28
  • 125
  • 273
1
vote
1 answer

Deploying META-INF directory of a project listed in a Deployment Assembly

I have a project that has some data in the META-INF folder that it needs for proper functioning. Specifically, it has a services sub-directory, with a service file in it. When I add that project to the Web Deployment Assembly list and publish the…
alh84001
  • 1,263
  • 1
  • 15
  • 25
1
vote
1 answer

how to read manifest.mf in an j2me application

I'm developing a j2me application using Netbeans IDE and LWUIT library. I need to read some attributes of MANIFEST.MF that are included in jar file. What all I found in net, either have conflict with j2me or are not working with Netbeans. How to…
aida
  • 153
  • 1
  • 9
1
vote
0 answers

Tomcat not loading services

Does anyone know if the META-INF/services folder gets loaded by Tomcat at all?? I have a war file that defines a few services, all of which run just fine under JBoss but Tomcat seems to ignore them. Any ideas if this is a Tomcat limitation or…
Ayyoudy
  • 3,641
  • 11
  • 47
  • 65
1
vote
1 answer

Howto add the version, description and copyright meta-data in the generated executable using gluonfx:build?

We need meta-information in the generated executable so that right-clicking and selecting "details" will display the description, copyright and version. We have added description and vendor in the releaseConfiguration block but the executable still…
1 2 3
8 9