In eclipse with maven, I have add a dependency as a local jar file, as like this:
<dependency>
<groupId>xyz-core</groupId>
<artifactId>xyz-core</artifactId>
<version>0</version>
<scope>system</scope>
<systemPath>/home/xyz/xyz-core.jar</systemPath>
</dependency>
In this jar file I have a interface that is using in my application.
When I run my application on tomcat server It show exception for that interface
Exception sending context initialized event to listener instance of class
org.springframework.web.context.ContextLoaderListener
java.lang.NoClassDefFoundError: com/mxgraph/canvas/mxICanvas2D
while mxICanvas2D
is a interface.