Error on startup of activiti-rest -
on startup of activiti-rest 5.16.4 following error, our older instance 15.4 working without problems:
severe: error configuring application listener of class org.activiti.rest.servlet.webconfigurer java.lang.noclassdeffounderror: javax/servlet/dispatchertype @ java.lang.class.getdeclaredconstructors0(native method) @ java.lang.class.privategetdeclaredconstructors(class.java:2532) @ java.lang.class.getconstructor0(class.java:2842) @ java.lang.class.newinstance(class.java:345) @ org.apache.catalina.core.standardcontext.listenerstart(standardcontext.java:4154) @ org.apache.catalina.core.standardcontext.start(standardcontext.java:4709) @ org.apache.catalina.core.containerbase.addchildinternal(containerbase.java:799) @ org.apache.catalina.core.containerbase.addchild(containerbase.java:779) @ org.apache.catalina.core.standardhost.addchild(standardhost.java:583) @ org.apache.catalina.startup.hostconfig.deploywar(hostconfig.java:943) @ org.apache.catalina.startup.hostconfig.deploywars(hostconfig.java:778) @ org.apache.catalina.startup.hostconfig.deployapps(hostconfig.java:504) @ org.apache.catalina.startup.hostconfig.start(hostconfig.java:1317) @ org.apache.catalina.startup.hostconfig.lifecycleevent(hostconfig.java:324) @ org.apache.catalina.util.lifecyclesupport.firelifecycleevent(lifecyclesupport.java:142) @ org.apache.catalina.core.containerbase.start(containerbase.java:1065) @ org.apache.catalina.core.standardhost.start(standardhost.java:822) @ org.apache.catalina.core.containerbase.start(containerbase.java:1057) @ org.apache.catalina.core.standardengine.start(standardengine.java:463) @ org.apache.catalina.core.standardservice.start(standardservice.java:525) @ org.apache.catalina.core.standardserver.start(standardserver.java:754) @ org.apache.catalina.startup.catalina.start(catalina.java:595) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.apache.catalina.startup.bootstrap.start(bootstrap.java:289) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.apache.commons.daemon.support.daemonloader.start(daemonloader.java:243) caused by: java.lang.classnotfoundexception: javax.servlet.dispatchertype @ org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1680) @ org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1526) ... 32 more
we use tomcat 6.0.39 , jre 1.7.0_65-b32 on our hosted servers.
do miss library or have configuration problem? or related spring 4? or activiti 5.16 not compatible tomcat 6?
the dispatchertype introduced in servlet spec 3.0 far now. if @ tomcat version support table here: http://tomcat.apache.org/whichversion.html
you see tomcat 6 supports servlet spec 2.5, cause of class not found error.
upgrade tomcat 7 , reckon you'll golden.
cheers, greg
Comments
Post a Comment