I had spend hours to identify few additional jars getting included in the war file that causes failure in deployment and error in bringing up the application, especially when container provides those libraries with different version of it.
Luckily there is an option in maven to see the dependency as well dependency of dependencies, which i did not learn so far. The command is,
Luckily there is an option in maven to see the dependency as well dependency of dependencies, which i did not learn so far. The command is,
mvn dependency:tree
and also found that there are more ways to view visual graph.
No comments:
Post a Comment