Classpath entry in MANIFEST.MF file
2012-11-04 16:34
363 查看
Hi All,
When I deploy my application I get an error saying classpath entry in the MANIFEST.MF file is not correct.
The .ear file I am using has lot of .jar files, it is complaining about 1 or 2 jars at at time when I try to deploy the application. After I correct these 1 or 2 jars it complains about some other jar.
The error is something like .... .
Cannot deploy application .... Reason: classpath entry in ..../xxx.jar is specified in
.... xxx.jar/META-INF/MANIFEST.MF cannot be resolved.
The question is someone else deployed .ear file with the same .jar and it was ok.
Is there an option that I can set to ignore the classpath information in MANIFEST.MF file.
thanks
It worked for me when I removed classpath entry from the METAINF.. file.
When I deploy my application I get an error saying classpath entry in the MANIFEST.MF file is not correct.
The .ear file I am using has lot of .jar files, it is complaining about 1 or 2 jars at at time when I try to deploy the application. After I correct these 1 or 2 jars it complains about some other jar.
The error is something like .... .
Cannot deploy application .... Reason: classpath entry in ..../xxx.jar is specified in
.... xxx.jar/META-INF/MANIFEST.MF cannot be resolved.
The question is someone else deployed .ear file with the same .jar and it was ok.
Is there an option that I can set to ignore the classpath information in MANIFEST.MF file.
thanks
It worked for me when I removed classpath entry from the METAINF.. file.
相关文章推荐
- JAVA Error:The project was not built since its build path is incomplete. Cannot find the class file for java.util.Map$Entry.....
- No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/D:/package/java/hibernat
- 警告: Duplicate name in Manifest: Class-Path.解决办法
- ANT构建JAR包时设置MANIFEST.MF的Class-Path属性的技巧
- 通过ANT生成MANIFEST.MF中的Class-Path属性
- Duplicate name in Manifest: Class-Path 问题处理方案
- 通过ANT打包jar并生成MANIFEST.MF中的Class-Path属性
- Duplicate name in Manifest: Class-Path 问题处理方案
- MAVEN插件打包SNAPSHOT包MANIFEST.MF中Class-Path带时间戳的问题
- 通过ANT生成MANIFEST.MF中的Class-Path属性
- 通过ANT生成MANIFEST.MF中的Class-Path属性
- ANT构建JAR包时设置MANIFEST.MF的Class-Path属性的技巧
- 通过ANT生成MANIFEST.MF中的Class-Path属性
- JAVA:Duplicate name in Manifest: Class-Path
- jar包下MANIFEST.MF 中的 Class-Path 设置
- Use of the MANIFEST.MF file in Java
- m2e-wtp error: <path>/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF (No such file or directory)
- Android Studio build工程的时候出现 Error:null value in entry: aaptFriendlyManifestOutputFile=null
- 通过ANT生成MANIFEST.MF中的Class-Path属性
- 用maven在MANIFEST.MF文件中的Class-Path中增加当前目录(.)