java.lang.NoClassDefFoundError: dans eclipse, maven

Dans eclipse avec maven, j'ai ajouter une dépendance comme un fichier jar,
comme ceci:

<dependency>
    <groupId>xyz-core</groupId>
    <artifactId>xyz-core</artifactId>
    <version>0</version>
    <scope>system</scope>
    <systemPath>/home/xyz/xyz-core.jar</systemPath>
</dependency>

Dans ce fichier jar, j'ai une interface qui utilise dans mon application.

Quand je lance mon application sur serveur tomcat Ce spectacle d'exception pour cette interface

Exception sending context initialized event to listener instance of class
org.springframework.web.context.ContextLoaderListener
java.lang.NoClassDefFoundError: com/mxgraph/canvas/mxICanvas2D

tout mxICanvas2D est une interface.

Vous devez ajouter un stacktrace également partie du printemps config

OriginalL'auteur Prashant Aggarwal | 2013-09-07