- This topic has 4 replies, 3 voices, and was last updated 17 years, 3 months ago by Riyad Kalla.
-
AuthorPosts
-
jacklinMemberHi, I am using newly updated :
MyEclipse 5.5.1 GA,
JDK1.60
Tomcat 5.5.4I get the following error when deploying webservice via MyEclipse (works fine directly from tomcat) :
Jul 31, 2007 5:47:59 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.4
Jul 31, 2007 5:47:59 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jul 31, 2007 5:48:00 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive CreditCard.war
Jul 31, 2007 5:48:00 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet XFireServlet as unavailable
Jul 31, 2007 5:48:00 PM org.apache.catalina.core.ApplicationContext log
SEVERE: Error loading WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
———-> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@9e8c34
org.codehaus.xfire.transport.http.XFireConfigurableServlet
java.lang.ClassNotFoundException: org.codehaus.xfire.transport.http.XFireConfigurableServlet
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:988)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:886)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3817)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4079)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:755)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:777)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:672)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1079)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1011)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1003)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:437)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2010)
at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
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:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409).Tearing my hair out. Please assist.
Thank you, Helmut
Loyal WaterMemberCan you try your deployment using JDK 1.4 or JDK 1.5. MyEclipse is not certified with JDK 1.6 yet.
jacklinMemberHi, Thanks for your response.
Using JDK1.5.0_12, the error looks like this :
Aug 3, 2007 12:45:00 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive CreditCard.war
Aug 3, 2007 12:45:00 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet XFireServlet as unavailable
Aug 3, 2007 12:45:00 PM org.apache.catalina.core.ApplicationContext log
SEVERE: Servlet /CreditCard threw load() exception
javax.servlet.ServletException: Error instantiating servlet class org.codehaus.xfire.transport.http.XFireConfigurableServlet
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1020)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:886)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3817)
————
snip
————
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/support/GenericWebApplicationContext
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1011)
… 25 moreWhere to from here ?
jacklinMemberPossibly related :
Preferences-MyEclipse-Project Capabilities-‘Web Services – Xfire’
‘Library Modules’ dropdown list : changing selection does not affect the list of jars.
‘Edit’ button does not work, although enabled.
There is no ‘Apply’ button.
There is no Restore ‘Defaults’ button.
Riyad KallaMemberjacklin,
On that Project Capabilities screen you are saying at the bottom of the screen on the right side there is no “Restore Defaults” button? And when ou switch libraries up in the drop down at the top, the contents of the list window do not change at all?Sounds like an install or workspace problem, that would certainly explain the problem you are seeing which boils down to XFire missing it’s Spring libs.
-
AuthorPosts