Hi,
first i have integrated my resteasy ws to jbpm workflow project and added all the
necessay jars to it.it is succesfully excuted in command prompt and created the wars in
repository.
but whenever i am trying to deploy that war file in tomcat(6) it shows the following
errors:
java.lang.NoClassDefFoundError: org/drools/rule/CompositeClassLoader
at org.drools.builder.impl.KnowledgeBuilderProviderImpl.newKnowledgeBuil
der(KnowledgeBuilderProviderImpl.java:29)
at org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(Knowle
dgeBuilderFactory.java:29)
at com.ocqc.flow.OCQCWorkflowManager.readKnowledgeBase(OCQCWorkflowManag
er.java:59)
at com.ocqc.flow.OCQCWorkflowManager.operate(OCQCWorkflowManager.java:40
)
at com.ocqc.flow.OCQCWorkflowManager.initProcess(OCQCWorkflowManager.jav
a:31)
at com.restfully.shop.services.JobResource.getAvailableReport(JobResourc
e.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.
java:140)
at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.
java:255)
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220
)
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209
)
at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(Synchronous
Dispatcher.java:519)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispa
tcher.java:496)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispa
tcher.java:119)
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.
service(ServletContainerDispatcher.java:208)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.servi
ce(HttpServletDispatcher.java:55)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.servi
ce(HttpServletDispatcher.java:50)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
9)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.drools.rule.CompositeClassLoade
r
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1647)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1493)
... 33 more
plaese help .....
Thanks & Regards
subhransu sekhar
Show replies by date
Hi,
Thanks for ur response......i have solved that problem by removing some unnecessary
dependency from my pom.xml file......
thanks to allllllllllllllllllllllllllllll...
Thanks & Regards,
subhransu sekhar
Hi,
first i have integrated my resteasy ws to jbpm workflow project and added all the
necessay jars to it.it is succesfully excuted in command prompt and created the wars in
repository.
but whenever i am trying to deploy that war file in tomcat(6) it shows the following
errors:
java.lang.NoClassDefFoundError: org/drools/rule/CompositeClassLoader
at org.drools.builder.impl.KnowledgeBuilderProviderImpl.newKnowledgeBuil
der(KnowledgeBuilderProviderImpl.java:29)
at org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(Knowle
dgeBuilderFactory.java:29)
at com.ocqc.flow.OCQCWorkflowManager.readKnowledgeBase(OCQCWorkflowManag
er.java:59)
at com.ocqc.flow.OCQCWorkflowManager.operate(OCQCWorkflowManager.java:40
)
at com.ocqc.flow.OCQCWorkflowManager.initProcess(OCQCWorkflowManager.jav
a:31)
at com.restfully.shop.services.JobResource.getAvailableReport(JobResourc
e.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.
java:140)
at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.
java:255)
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220
)
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209
)
at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(Synchronous
Dispatcher.java:519)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispa
tcher.java:496)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispa
tcher.java:119)
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.
service(ServletContainerDispatcher.java:208)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.servi
ce(HttpServletDispatcher.java:55)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.servi
ce(HttpServletDispatcher.java:50)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
9)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.drools.rule.CompositeClassLoade
r
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1647)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1493)
... 33 more
plaese help .....
Thanks & Regards
subhransu sekhar