I would like to use a maven dependency in my Eclipse plug-in. What I've done so far is I added the dependency on my pom:
<dependency>
<groupId>com.mandrillapp.wrapper.lutung</groupId>
<artifactId>lutung</artifactId>
<version>0.0.5</version>
</dependency>
And when I try to use the dependency I get the run time exception below (omitted the stack trace):
org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: com/microtripit/mandrillapp/lutung/MandrillApi
.
.
.
Caused by: java.lang.NoClassDefFoundError: com/microtripit/mandrillapp/lutung/MandrillApi
.
.
.
Caused by: java.lang.ClassNotFoundException: com.microtripit.mandrillapp.lutung.MandrillApi cannot be found by myplugin_1.0.0.qualifier
How can I solve this issue?
lutung
library? This is not clear to me when reading the question. – Perfect