- This topic has 1 reply, 2 voices, and was last updated 8 years, 6 months ago by
support-swapna.
-
AuthorPosts
-
tirupatibalajeeParticipantWhen I am trying to deploy my war generated from MyEclipse Enterprise Workbench(2016 CI 7) on MyEclipse Tomcat v7.0, server is throwing exception mentioned below resulting in failure of deployment of war file. Whereas, the same code base runs fine on MyEclipse Enterprise workbench 7.5 with MyEclipse Tomcat v6.0. The difference between both set up are tabulated below:
Environment Running expected Environment throwing exception
MyEclipse Enterprise workbench 7.5 MyEclipse Enterprise Workbench(2016 CI 7)
MyEclipse Tomcat v6.0 MyEclipse Tomcat v7.0
Java 1.6 Java 1.8Exception:
Nov 21, 2016 5:38:22 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet wicketServlet as unavailable
Nov 21, 2016 5:38:22 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /netinfo threw load() exception
java.lang.ClassNotFoundException: org.apache.wicket.protocol.http.WicketServlet
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:506)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:488)PFA for further detailed log
support-swapnaModeratorBalajee,
Thank you for trying MyEclipse 2016. Sorry that you are seeing this issue. The .log file is missing. Please change the extension of the .log file to .txt and attach it.
Can you please clarify if the project is migrated successfully and the dependencies for the project are set up in the web project’s Deployment Assembly page ? The newer versions of MyEclipse support flexible deployment using the Deployment Assembly. Right click on the project > Properties > expand MyEclipse and select Deployment Assembly. You can add projects, libraries or files that you want to deploy with your application.
Please make sure the appropriate Wicket jars are added to the Deployment Assembly page, so that they get deployed along with the project.
Please refer to this tutorial for more information about Deployment Assembly : https://www.genuitec.com/products/myeclipse/learning-center/basics/myeclipse-deployment-assembly/
If you are still seeing issues even after configuring the deployment assembly, then please send us the .log file (change to .txt and send it ) located at <workspace dir>/.metadata/.log for further investigation.
Apologies for inconvenience caused. Please let us know how it works for you.
–Swapna
MyEclipse Support -
AuthorPosts