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]
112 questions
0
votes
0 answers
Can Gradle read transitive dependencies from pom.xml contained in local JAR files?
Unlike external dependencies (from Maven, Ivy, etc.) local JAR files usually do not provide a list of transitive dependencies for Gradle. Unless they theoretically do in form of files pom.xml and pom.properties in directory…
![](../../users/profiles/2787955.webp)
sLoPPydrive
- 81
- 6
0
votes
1 answer
How to modify Tomcat's default META-INF\context.xml?
(Tomcat discussed here is an in-Liferay embedded 7.0.42.)
For WARs that come with no META-INF\context.xml Tomcat supplies its own. Hence whenever I re-deploy such app this file also gets (re)written. Unfortunately the default version of…
![](../../users/profiles/224239.webp)
Jaroslav Záruba
- 4,210
- 4
- 34
- 50
0
votes
1 answer
Copying META-INF from all dependencies using gradle copy task
An issue with using a Gradle Copy task:
def loopJar(File file) {
zipTree(file).findAll { that ->
that
}.collect { the ->
if (the.getName().endsWith(".jar") || the.getName().endsWith(".aar")) {
loopJar(the)
…
![](../../users/profiles/577588.webp)
Thomas Nairn
- 1,169
- 6
- 31
0
votes
1 answer
META-INF javascript reload AMP file
I'm making an extension to alfresco and I created a surf page, with the files described in this tutorial: http://docs.alfresco.com/5.0/tasks/dev-extensions-share-tutorials-add-page.html
In this tutorial said too, that if I want a javascript/css…
![](../../users/profiles/4337310.webp)
PRVS
- 1,502
- 4
- 28
- 65
0
votes
2 answers
Unable to serve /WEB-INF/lib/*.jar!/META-INF/resources/ content
I have a GWT-Spring project and I have also two modules which are used as a libraries in the web project, everything works fine, but I'm trying to put some static resources on one of those modules (JAR) but I'm not seeing my resources when the…
![](../../users/profiles/1599681.webp)
calbertts
- 1,452
- 2
- 15
- 32
0
votes
2 answers
How to open file in META-INF independent of environment
I learn servlet programming in java, using tomcat 7 as server, eclipse as IDE and ubuntu as OS.
I need to open file "xyz.txt" in META-INF folder, but I want to do it independent from working environment (file system, OS, IDE, server,…
![](../../users/profiles/1873877.webp)
Marko
- 1,110
- 1
- 15
- 25
0
votes
1 answer
How to load Web project in NetBean
I have a web source code includes two folders: META-INF and WEB-INF directory is structured as:
WhatJobs
|META-INF
|WEB-INF
|application
|classes
|framework
|lib
|resources
|web.xml
how I can load project in NetBean. Please…
![](../../users/profiles/3709696.webp)
Phu Sang
- 21
- 1
- 3
0
votes
1 answer
Why does dynamic web project create meta-inf under webapp folder?
I read that Meta-inf should be placed under src/main/resources. When I create a dynamic web project in Eclipse, I seem to get Meta-Inf placed under the webapp folder, alongside Web-Inf.
Where is the correct location for Meta-Inf? Does it have to be…
![](../../users/profiles/1754307.webp)
smackenzie
- 2,476
- 3
- 29
- 79
0
votes
0 answers
how to add a folder containing config files to .jar META-INF -MANIFEST.MF
I want to add a folder which have the configuration files(services.XML, applicationContextClient.XML,transports.XML) for a service call, to MANIFEST.MF so that the program can read those files and read from the corresponding .properties…
![](../../users/profiles/713872.webp)
Lucky
- 647
- 2
- 9
- 25
0
votes
1 answer
jarsigner and files / directories in META-INF
I have problems with signing jar files. I have some files in META-INF directory and they do NOT get signed when I use jarsigner, but then, the verification fails because of unsigned entries.
I'm not creating the jar, so I cannot change its structure…
![](../../users/profiles/2542233.webp)
Woland
- 111
- 1
- 2
- 9
0
votes
1 answer
org.apache.axis2.dataretrieval.DataRetrievalException: Failed to load from file, META-INF/ServiceData.xml
I have the same problem as laalto - Axis2 error while running web service.
The following exception occurs when I call the webservice, although the service seems to run properly:
06-16@11:46:05 DEBUG DataRetrievalUtil - File does not exist in the…
![](../../users/profiles/3702345.webp)
Marc
- 1
- 7
0
votes
2 answers
Web Services in Unix. What should be the directory structure
I earlier got to create a simple RESTful webservice on my localhost using Eclipse IDE, Tomcat, and JAX-RS libraries.
I am now trying to move the same on to a different unix server which has Tomcat installed. I am not knowing how to get started as in…
![](../../users/profiles/216537.webp)
Sashi Kiran Challa
- 885
- 1
- 11
- 21
0
votes
1 answer
Delete META-INF folder
I need remove jarFile.jar > /META-INF folder.
First, I extract the original jarFile.jar into temp/ folder
Then I delete META-INF/
And zip it again, no errors, but the file appears corrupt.
Anyone can help me?
EDIT:
public static void…
![](../../users/profiles/2840384.webp)
mlomb
- 173
- 4
- 18
0
votes
1 answer
Apache Tomcat: META-INF directory ignored during creation of .war file
I'm developing a web-application with Apache Tomcat. My web-app has a META-INF directory with the context.xml file in it. The problem is that when I try to create a .war file with the command "jar -cvf mywebapp.war ." , I get this warning (I'm…
![](../../users/profiles/3067088.webp)
user3067088
- 1,519
- 4
- 14
- 18
0
votes
1 answer
Autowire fails after moving spring context to META-INF
After moving my spring context configuration into src/main/resources/META-INF/spring I am not able to wire my beans. Before my spring context was placed directly under the src folder and my tests as well as autowiring runs…
![](../../users/profiles/1640490.webp)
s_bei
- 11,895
- 8
- 47
- 67