I have a maven project which is running fine on my machine but not on another machine. Apparently in the other machine, mvn in unable to resolve the path to the jar, resulting in a ClassNotFoundException.
The missing class is part of a jar which is an indirect dependency (i.e. dependency of a dependency) and is not directly referred in my pom. Is there any way to determine the path to the jar in my dependency tree?
I have a maven project which is running fine on my machine but not
Share
Use
mvn dependency:tree: it will print a tree with all the dependencies. Once done, search the tree for the missing jar to see where it comes from.