Maven. Transitive dependencies.
Posted
by Jake
on Stack Overflow
See other posts from Stack Overflow
or by Jake
Published on 2010-05-26T17:17:35Z
Indexed on
2010/05/26
17:21 UTC
Read the original article
Hit count: 415
This is a novice question.
My project P depends on dependency A which depends on dependency B. My project's pom.xml file includes A as a dependency, and its jar is included in P's classpath. However, there is a NoClassDefFoundError
thrown at runtime of P, which stems from missing B jars.
Shouldn't Maven have downloaded these dependencies automatically?
© Stack Overflow or respective owner