문제

I'm trying to deploy a simple Resteasy application using Java7 to Tomcat7.

I get these errors on startup:

SEVERE: Exception sending context initialized event to listener instance of class org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap java.lang.NoClassDefFoundError: org/scannotation/AnnotationDB$CrossReferenceException

SEVERE: Exception sending context destroyed event to listener instance of class org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap java.lang.NullPointerException

I'm using apache maven for the dependencies which is retrieving from <repository> <id>jboss</id> <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url> </repository>

The web.xml can be found at http://pastebin.com/Nsuh71ES.

Any help is appreciated.

도움이 되었습니까?

해결책

After examining the maven cache, the jboss resteasy library hadn't been fully downloaded. The problem was due to the fact that org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap could not be accessed

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top