Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Can't run tomcat 7 on eclipse helios 3.6
Can't run tomcat 7 on eclipse helios 3.6 [message #741563] Wed, 19 October 2011 16:47 Go to next message
Mahmoud Saleh is currently offline Mahmoud SalehFriend
Messages: 23
Registered: September 2011
Junior Member
i have eclipse helios 3.6.1 with WTP 3.1.2
and i downloaded Tomcat 7.0.22 and added it to servers
but when i tried to run my application (BTW my application uses servlet-api 3.0.1,jsp-api 2.2.1,el-api 2.2.2, JSF 2.1, Maven 2 as build tool) on server, i got the following exception:


WARNING: Unable to load class [Testing.MyTest] to check against the @HandlesTypes annotation of one or more ServletContentInitializers. 
    java.lang.ClassNotFoundException: Testing.MyTest
    	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)
    	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
    	at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2006)
    	at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1969)
    	at org.apache.catalina.startup.ContextConfig.processAnnotationsJndi(ContextConfig.java:1914)
    	at org.apache.catalina.startup.ContextConfig.processAnnotationsJndi(ContextConfig.java:1905)
    	at org.apache.catalina.startup.ContextConfig.processAnnotationsJndi(ContextConfig.java:1905)
    	at org.apache.catalina.startup.ContextConfig.processAnnotationsJndi(ContextConfig.java:1905)
    	at org.apache.catalina.startup.ContextConfig.processAnnotationsJndi(ContextConfig.java:1905)
    	at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1828)
    	at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1295)
    	at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:896)
    	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:322)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5103)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)
    	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:633)
    	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:558)
    	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:468)
    	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1329)
    	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:389)
    	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:334)
    	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1041)
    	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)
    	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    	at org.apache.catalina.startup.Catalina.start(Catalina.java:621)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
    Oct 19, 2011 6:32:12 PM org.apache.catalina.startup.ContextConfig checkHandlesTypes
    WARNING: Unable to load class [com.sun.jmx.mbeanserver.MBeanInstantiatorImpl] to check against the @HandlesTypes annotation of one or more ServletContentInitializers. 
    java.lang.IncompatibleClassChangeError: Implementing class
    	at java.lang.ClassLoader.defineClass1(Native Method)
    	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    	at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    	at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2820)
    	at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1150)
    	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
    	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
    	at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2006)
    	at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1969)
    	at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1858)
    	at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1826)
    	at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1812)
    	at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1306)
    	at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:896)
    	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:322)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5103)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)
    	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:633)
    	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:558)
    	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:468)
    	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1329)
    	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:389)
    	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:334)
    	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1041)
    	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)
    	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    	at org.apache.catalina.startup.Catalina.start(Catalina.java:621)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
    Oct 19, 2011 6:32:12 PM org.apache.catalina.startup.ContextConfig checkHandlesTypes
    WARNING: Unable to load class [com.sun.jmx.mbeanserver.RepositorySupport] to check against the @HandlesTypes annotation of one or more ServletContentInitializers. 
    java.lang.IncompatibleClassChangeError: Implementing class
    	at java.lang.ClassLoader.defineClass1(Native Method)
    	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    	at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    	at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2820)
    	at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1150)
    	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
    	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
    	at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2006)
    	at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1969)
    	at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1858)
    	at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1826)
    	at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1812)
    	at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1306)
    	at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:896)
    	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:322)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5103)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)
    	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:633)
    	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:558)
    	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:468)
    	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1329)
    	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:389)
    	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:334)
    	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1041)
    	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)
    	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    	at org.apache.catalina.startup.Catalina.start(Catalina.java:621)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)


so any ideas why i get this exception ?

[Updated on: Wed, 19 October 2011 16:48]

Report message to a moderator

Re: Can't run tomcat 7 on eclipse helios 3.6 [message #741647 is a reply to message #741563] Wed, 19 October 2011 19:00 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1310
Registered: July 2009
Senior Member
WTP 3.1.x works with Eclipse 3.5.x. You will need WTP 3.2.x to work
with Eclipse 3.6.x. It's hard to predict what will or won't work
correctly with Eclipse 3.6.x and WTP 3.1.x.

My response to your earlier post gives the URL you need to use for WTP's
Helios update site.

Cheers,
Larry

On 10/19/2011 12:47 PM, Mahmoud Saleh wrote:
> i have eclipse helios 3.6.1 with WTP 3.1.2
> and i downloaded **Tomcat 7.0.22** and added it to servers
> but when i tried to run my application (BTW my application uses
> **servlet-api 3.0.1**,**jsp-api 2.2.1**,**el-api 2.2.2**, **JSF 2.1**,
> **Maven 2** as build tool) on server, i got the following exception:
>
>
> WARNING: Unable to load class [Testing.MyTest] to check against the
> @HandlesTypes annotation of one or more ServletContentInitializers.
> java.lang.ClassNotFoundException: Testing.MyTest
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)
>
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
>
> at
> org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2006)
>
> at
> org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1969)
>
> at
> org.apache.catalina.startup.ContextConfig.processAnnotationsJndi(ContextConfig.java:1914)
>
> at
> org.apache.catalina.startup.ContextConfig.processAnnotationsJndi(ContextConfig.java:1905)
>
> at
> org.apache.catalina.startup.ContextConfig.processAnnotationsJndi(ContextConfig.java:1905)
>
> at
> org.apache.catalina.startup.ContextConfig.processAnnotationsJndi(ContextConfig.java:1905)
>
> at
> org.apache.catalina.startup.ContextConfig.processAnnotationsJndi(ContextConfig.java:1905)
>
> at
> org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1828)
>
> at
> org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1295)
>
> at
> org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:896)
>
> at
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:322)
>
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>
> at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5103)
>
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)
>
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)
> at
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:633)
>
> at
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:558)
>
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:468)
> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1329)
> at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>
> at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>
> at
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:389)
>
> at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:334)
> at
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1041)
>
> at
> org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> at
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)
>
> at
> org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)
>
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> at
> org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
>
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> at
> org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)
>
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:621)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
> Oct 19, 2011 6:32:12 PM org.apache.catalina.startup.ContextConfig
> checkHandlesTypes
> WARNING: Unable to load class
> [com.sun.jmx.mbeanserver.MBeanInstantiatorImpl] to check against the
> @HandlesTypes annotation of one or more ServletContentInitializers.
> java.lang.IncompatibleClassChangeError: Implementing class
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
> at
> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2820)
>
> at
> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1150)
>
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
>
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
>
> at
> org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2006)
>
> at
> org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1969)
>
> at
> org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1858)
>
> at
> org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1826)
>
> at
> org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1812)
>
> at
> org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1306)
>
> at
> org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:896)
>
> at
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:322)
>
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>
> at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5103)
>
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)
>
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)
> at
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:633)
>
> at
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:558)
>
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:468)
> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1329)
> at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>
> at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>
> at
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:389)
>
> at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:334)
> at
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1041)
>
> at
> org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> at
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)
>
> at
> org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)
>
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> at
> org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
>
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> at
> org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)
>
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:621)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
> Oct 19, 2011 6:32:12 PM org.apache.catalina.startup.ContextConfig
> checkHandlesTypes
> WARNING: Unable to load class
> [com.sun.jmx.mbeanserver.RepositorySupport] to check against the
> @HandlesTypes annotation of one or more ServletContentInitializers.
> java.lang.IncompatibleClassChangeError: Implementing class
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
> at
> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2820)
>
> at
> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1150)
>
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
>
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
>
> at
> org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2006)
>
> at
> org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1969)
>
> at
> org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1858)
>
> at
> org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1826)
>
> at
> org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1812)
>
> at
> org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1306)
>
> at
> org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:896)
>
> at
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:322)
>
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>
> at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5103)
>
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)
>
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)
> at
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:633)
>
> at
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:558)
>
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:468)
> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1329)
> at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>
> at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>
> at
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:389)
>
> at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:334)
> at
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1041)
>
> at
> org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> at
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)
>
> at
> org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)
>
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> at
> org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
>
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> at
> org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)
>
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:621)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
>
> so any ideas why i get this exception ?
Previous Topic:specify transitive dependency in eclipse?
Next Topic:Classpath validator issue: Projects must be referenced by an EAR or WAR
Goto Forum:
  


Current Time: Fri Nov 21 19:26:01 GMT 2014

Powered by FUDForum. Page generated in 0.02221 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software