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.
Questions tagged [meta-inf]
125 questions
0
votes
0 answers
Java. services in the META-INF directory of jar file
In my project, I have created a custom JDBC driver and I want to put it in a jar file. I also know that JDBC driver registration via DriverManager can be automated if I put the appropriate file in the services folder of the META-INF directory inside…

Vahag Chakhoyan
- 873
- 1
- 10
- 21
0
votes
1 answer
How to add folder and files inside the META-INF folder of maven generated jar file
I want to add few files in a particular directory structure in generated MET-INF folder. I am using maven.
abc.jar
|-META-INF
| |-bind
| |-obj.map
|-BOOT-INF
|-org
mvn and jdk versions are as shown below
maven home:…

Amit Meena
- 2,884
- 2
- 21
- 33
0
votes
0 answers
Excluding manifest from the final jar
I'm trying to exclude the manifest file from the final jar artifact using gradle.
Weirdly I haven't found anything online and my attempts at it yielded no results.
My jar block currently:
jar {
archivesBaseName = 'LRM2'
…

SHsuperCM
- 110
- 9
0
votes
1 answer
Android app run fails with "duplicate entry: META-INF/services" error
I am trying to convert my app to AndroidX. I have updated it to version 28 (pie) and then converted it to Android X using "refactor-migrate to Android X". Everything appears to be OK, and the project syncs ok in a couple of seconds.
My problem…

Chris S
- 83
- 3
- 12
0
votes
1 answer
Spring Boot jar - META-INF inside BOOT-INF folder
Is there any way to have META-INF folder inside BOOT-INF in spring boot packaging jar?
This might be a trivial question, but not sure how to do it. Below is the way i am packaging right now which created three folders BOOT_INF, META_INF, ORG. The…

SSharma2203
- 217
- 4
- 18
0
votes
1 answer
Multiple META-INF folders in the same Java eclipse project
I'm working on a java eclipse RCP project where Package explorer shows 4 packages and three of them having a META-INF folder and each of them contains a MANIFEST.MF file.
and each package (except one) has its own build.properties.
I don't understand…

abhimanyue
- 196
- 1
- 12
0
votes
0 answers
How to place jaxb.properties in META-INF or resources folder in spring boot project?
I have a spring boot project which have a model class called Message.java and have a jaxb.properties file in the same package where Message.java is situated. This works fine.
But is there a way where i can place my jaxb.properties file in META-INF…

Pramod Rawate
- 31
- 1
- 4
0
votes
1 answer
WebSpehere WAS 8.5.5.x ibm-application-bnd.xml in META-INF
I have an application that contains a WAS specific configuration file 'ibm-application-bnd.xml' set in which is mapping some application roles to some LDAP groups.
I want to provide this file OUTSIDE of the Ear where I can provision it…

Inquisitor Shm
- 1,433
- 5
- 17
- 26
0
votes
1 answer
Android META-INF size in apk is very large
I using some native library in my app. in apk file under META-INF folder is a folder named "native" and in this folder is large files that seems related to Widows and Mac OS.
please see this image:
my questions is:
what is these files?
can I delete…

Hadi Ahmadi
- 1,924
- 2
- 17
- 38
0
votes
0 answers
How are resources added to the sample jar produced in Maven's guide?
As someone new to this, I might just be missing something obvious, but I figure it might be confusing to anyone unaware in the field of developing tools like Maven. Following the official Maven guide, I was able to install the sample JAR to the…

Jpuzzle
- 11
- 5
0
votes
1 answer
Error: "Java-Bean. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both ..."
I am trying to run a java jar file on a Windows 10 os in my bash terminal, and keep getting this error message:
Duplicate name in Manifest: Java-Bean. Ensure that the manifest does
not have duplicate entries, and that blank lines separate…

Sarah Ganci
- 209
- 1
- 10
0
votes
1 answer
Why am I missing "META-INF" folder in my apk in Unity?
I have signed my apk. But META-INF folder is missing.
Please help me fix this. Thanks in advance!

Aravind
- 31
- 2
- 11
0
votes
0 answers
Changing name of Meta-inf
I need to sent an email with zipped project which contains maven folders eg. - META-INF. My email don't allow me to sent such files (filltering emails). I need to change the name of that folder META-INF. Am I able to do that without losing the…

Michael
- 55
- 1
- 2
- 8
0
votes
1 answer
Netbeans not allowing creation of META-INF package because of the hyphen
This is probably a very stupid question, but for some reason netbeans claims creating a package named META-INF is invalid, and won't let me do it. Anyone know how to get around this?

arsenal11
- 69
- 3
- 12
0
votes
1 answer
Why I do not see all of the folders in Eclipse package Explorer that I see in File Explorer
I created a Maven modul in Eclipse, and there I have a folder called 'target'. That on I see in package explorer in Eclipse. If I open it there are several folder. If I open it in File Explorer on Windows I see even more folder, e.g. one of them…

Armin Beda
- 109
- 9