您的位置:首页 > Web前端

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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: