Results 1 to 2 of 2
  1. #1
    osval is offline Member
    Join Date
    Jul 2007
    Posts
    26
    Rep Power
    0

    Default javax.servlet.ServletException: Wrapper cannot find servlet class util.t2

    I'm using JBoss 4.0.1 on SuSE Linux 9.0 System.

    When I click on http://localhost:8080/examples/test.html I get following
    ERROR

    Java Code:
    javax.servlet.ServletException: Wrapper cannot find servlet class util.t2 or a class it depends on
    
    org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
    org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:150)
    org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
    org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    java.lang.Thread.run(Thread.java:534)
    
    root cause
    
    java.lang.ClassNotFoundException util.t2
    java.net.URLClassLoader$1.run(URLClassLoader.java:199)
    java.security.AccessController.doPrivileged(Native Method)
    what's the problem?

  2. #2
    katie is offline Member
    Join Date
    Jul 2007
    Posts
    41
    Rep Power
    0

    Default

    check the URLs written in your html, I guess that they are wrong.

Similar Threads

  1. javax.servlet.ServletException:Can't get definitions factory
    By Peter in forum JavaServer Faces (JSF)
    Replies: 3
    Last Post: 12-02-2008, 08:29 AM
  2. problem in wrapper class
    By binoympappachen in forum New To Java
    Replies: 4
    Last Post: 12-13-2007, 01:31 PM
  3. Error: javax.servlet.ServletException: Column not found
    By barney in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 08-07-2007, 08:20 AM
  4. Exception Failed to Generate Wrapper Class on WebLogic
    By christina in forum New To Java
    Replies: 1
    Last Post: 08-07-2007, 03:15 AM
  5. My JSP can't find the servlet
    By gabriel in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 07-29-2007, 10:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •