开发者

Cannot find maven dependency, mysterious jar files

I am trying to build a simple war file which has a few jsps. However I am coming across an odd issue, for some reason during the packaging maven is pulling 4 jar files into the WEB-INF/lib. I have trimmed down all the fat from the pom file, and have grepped for any references to these jars without any success. I cannot figur开发者_如何学Goe out where maven is pulling them from. I tried 'mvn dependency:build-classpath' and the classpath is empty. Please help, these jars are corrupt and I cannot deploy this war file because of them.

Thanks,

natasha


You are very likely getting these dependency transitively and your best weapon to debug this is:

mvn dependency:tree

This should help you to find the culprit.

Just a wild guess: do you have a dependency on log4j-1.2.15.jar?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜