facebook

[Integration] Unable to deploy war on MyEclipse Tomcat v7.0 – threw load() excep

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #504053 Reply

    tirupatibalajee
    Participant

    When 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.8

    Exception:

    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

    #504062 Reply

    support-swapna
    Moderator

    Balajee,

    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

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: [Integration] Unable to deploy war on MyEclipse Tomcat v7.0 – threw load() excep

You must be logged in to post in the forum log in