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
1
vote
1 answer

JavaFX Gradle build error, java.util.zip.ZipException: duplicate entry: META-INF/LICENSE

I'm using Gradle to build a JavaFX application. The problem I keep running into is a "duplicate entry" error for META-INF/LICENSE. My jar includes a dependency on the Amazon AWS SDK, so I'm assuming the error is generated from that. To this point,…
Joel Graff
  • 167
  • 15
1
vote
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,…
Marko
  • 1,267
  • 1
  • 16
  • 25
1
vote
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…
Marc
  • 11
  • 8
1
vote
0 answers

Ant: Unzip patternset not excluding META-INF and jUnit

Because some guys forgot to set the junit scope to "test", it has been packaged along with our libraries. Since we don't need junit in our final product, I wanted to exclude the class files in an unzip task. Note: This task is necessary in the…
spaceemotion
  • 1,404
  • 4
  • 24
  • 32
1
vote
1 answer

how to reference the public schema of jasperserver database in the context.xml file?

I am trying to get the Jasperserver community edition running on tomcat. I am following steps from the documentation after a successful build using the install scripts from buildomatic, I try and run tomcat server but it complains about 'relation…
ruby
  • 259
  • 5
  • 23
1
vote
1 answer

tomee mvn install don't pack META-INF

When trying to build war file maven doesn't pack any META-INF using…
Mark T
  • 773
  • 4
  • 10
  • 22
1
vote
1 answer

CMYKJPEGImageReaderSpi not loading

I was having an issue of reading CMYK JPEG images , and have used below url as reference for solving the issue. http://www.randelshofer.ch/blog/2011/08/reading-cmyk-jpeg-images-with-java-imageio/ I have given the configuration…
Sanket
  • 612
  • 5
  • 23
1
vote
1 answer

How to use java.util.zip for epub

I have to edit the html files of epubs programmatically so what I did was to unzip the .epub and create a parser to make the necessary edits for the html files. However, when I convert them back into an .epub using my code, EpubChecker shows…
1
vote
0 answers

place tld file META-INF folder in the jar in m2e project

I have to place a custom tld file in the META-INF folder in the jar for a project developed using m2eclipse plugin. Can anyone help me?
jrpalla
  • 159
  • 2
  • 10
0
votes
1 answer

How can I run my Kotlin project using Android or IntelliJ?

I have a Kotlin project my friend gave me. But I don't know how to run this project. As I see, this project structure is different from other projects. These images show the project structure. To run this project, I have opened this project using…
0
votes
2 answers

Maven dependencies (jars) not pulled: POM file in meta-inf folder

I have a maven pom file with a dependency as below:
Ashok Ambrose
  • 191
  • 3
  • 17
0
votes
0 answers

My Android library is causing duplicate meta-inf files to be generated

I'm writing a library to be consumed by an app at work. When I import the library tot he app, the build fails with: 2 files found with path 'META-INF/DEPENDENCIES'. I don't want my library to force the consuming app to have to write this in the…
Thomas Cook
  • 4,371
  • 2
  • 25
  • 42
0
votes
0 answers

Why Java gives ServiceLoader Exception when I have two versions of webservices-rt.jar in same path? ServiceConfigurationError PolicyAssertionValidator

I am facing this ERROR during runtime on Unix environment. java.util.ServiceConfigurationError: com.sun.xml.ws.policy.spi.PolicyAssertionValidator: Provider com.sun.xml.ws.rm.policy.spi_impl.RmAssertionValidator could not be instantiated I have…
N.D.Baba
  • 11
  • 1
0
votes
0 answers

How to ignore/remove property from spring.factories file from predefined jar?

I have created custom SpringApplicationRunListener and added in Meta-INF of project file as org.springframework.boot.SpringApplicationRunListener= com.dt.testExec Now,i want to ignore the pre defined property inside…
0
votes
0 answers

Define the parameter babelfy.key in babelfy.properties in the config folder

These past months I've been coding up a dynamic web project on Eclipse. The aim of the project is to create a web where users can enter a little poem to adapt it to the Easy to Read methodology (it eliminates all its abbreviations and contractions,…
1 2 3
8 9