facebook

Problem with missing libraries

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #231222 Reply

    nts
    Member

    Hi Folks.

    I just tried to deploy my Struts-Web Application on my Tomcat 5 . So far so good it deployed without any problems but is seems to ignore some of the libraries deployed with it. The classes and libs are all positioned in the WEB-INF lib folder after deployment. Even the one the server seems to be unable to find.
    I get an Exception every time when i start my webapp. Is Says:

    HTTP Status 500 –

    ——————————————————————————–

    type Exception report

    message

    description The server encountered an internal error () that prevented it from fulfilling this request.

    exception

    javax.servlet.ServletException: Cannot allocate servlet instance for path /repairmanager/servlet/ShowMessage
    org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:388)
    org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:133)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    root cause

    java.lang.NoClassDefFoundError: nts/exception/BasicException
    java.lang.ClassLoader.defineClass0(Native Method)
    java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
    org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
    java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    java.lang.Class.getDeclaredConstructors0(Native Method)
    java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
    java.lang.Class.getConstructor0(Class.java:1922)
    java.lang.Class.newInstance0(Class.java:278)
    java.lang.Class.newInstance(Class.java:261)
    org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:369)
    org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:133)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.27 logs.

    i tried to deploy the project manually and it worked as expected, but i could not find any difference between the manually and the automaticall deployed Project.

    Please Help.

    Armin

    #231243

    Scott Anderson
    Participant

    Armin,

    
    but i could not find any difference between the manually and the automaticall deployed Project. 
    

    That’s really peculiar. It sounds like the deployer is working correctly if everything is being deployed. I’d try shutting down Tomcat and
    then undeploying the application. Then, go to the external Tomcat deployment location and ensure that everything was removed and nothing is “cached” out in Tomcat’s deployment areas. Then, go back into MyEclipse and deploy the application again and inspect the deployment externally to ensure that nothing looks wrong. Finally, start Tomcat and retest.

    If that doesn’t do it, can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some additional context for the problem.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Problem with missing libraries

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