Error Drools Guvnor on Glassfish

I am trying to deploy Guvnor (guvnor-5.5.0.Final-tomcat-6.0) to a new glassfish server (3.1.2.2 build 5) and I get the error below. I have not even tried other WARs, and I get the same error on OSX and windows.

Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/apache/AnnotationProcessor. Please see server.log for more details 

Is there any work for this?

+1
source share
2 answers

Add jasper-xxx.jar to your library. It should work. If you deploy to tomcat, it should be in catalina.jar.

Unfortunately, JBOSS 7 does not use tomcat, but uses JBossWeb. That is why you have this problem.

0
source

Take the binary warfare file guvnor-5.5.0.Final-jboss-as-7.0.war

  • add dom4j-1.6.1.jar

  • remove javassit * .jars

  • add resteasy-jaxb-provider-2.2.3.GA.jar

  • add resteasy-jaxrs-2.2.3.GA.jar

Add glassfish-web.xml file to WEB-INF https://github.com/snowch/glassfish-guvnor/blob/master/src/main/webapp/WEB-INF/glassfish-web.xml

Replace WEB-INF / web.xml with https://github.com/snowch/glassfish-guvnor/blob/master/src/main/webapp/WEB-INF/web.xml

Reinstall the binary war file and deploy it to the glass fish

0
source

All Articles