java.lang.ClassNotFoundException: org.insightcentre.uld.teanga.dkprowrapper.DKProWrapper reported when running mvn install jetty:run. The server starts, but curl requests just return HTTP ERROR 503 Service Unavailable, e.g.,
$> curl -v -X POST -H "Content-Type: application/json" --data \
'{"documentText":"this is a test","language":"en"}' \
http://localhost:8080/opennlp_segmenter
Log:
[WARNING] unavailable
java.lang.ClassNotFoundException: org.insightcentre.uld.teanga.dkprowrapper.DKProWrapper
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass (SelfFirstStrategy.java:50)
...
[WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@657becc9{/,file:///home/chiarcos/teanga/teanga-dkpro-wrapper/src/main/webapp/,UNAVAILABLE}{file:///home/chiarcos/teanga/teanga-dkpro-wrapper/src/main/webapp/}
javax.servlet.ServletException: Resource configuration class org.insightcentre.uld.teanga.dkprowrapper.DKProWrapper could not be loaded.
at org.glassfish.jersey.servlet.WebComponent.createResourceConfig (WebComponent.java:520)
...
Caused by: java.lang.ClassNotFoundException: org.insightcentre.uld.teanga.dkprowrapper.DKProWrapper
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass (SelfFirstStrategy.java:50)
...
java.lang.ClassNotFoundException: org.insightcentre.uld.teanga.dkprowrapper.DKProWrapper
reported when runningmvn install jetty:run
. The server starts, but curl requests just returnHTTP ERROR 503 Service Unavailable
, e.g.,Log: