This discussion is archived
1 Reply Latest reply: Jul 25, 2011 6:03 AM by 874972 RSS

Junit - Failed to load test suite - class not found

874972 Newbie
Currently Being Moderated
I am facing an exception while running junit using cactus. Getting exception whose stack trace i am pasting below.
The class in concern is in WEB-INF/classess folder as part of my war file deployed in weblogic 10.3.

javax.servlet.ServletException: Failed to load test suite [], Reason is [Class not found ""]
     at org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody0(
     at org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody1$advice(
     at org.apache.cactus.server.runner.ServletTestRunner.doGet(
     at javax.servlet.http.HttpServlet.service(
     at javax.servlet.http.HttpServlet.service(
     at weblogic.servlet.internal.StubSecurityHelper$
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(
     at weblogic.servlet.internal.ServletStubImpl.execute(
     at weblogic.servlet.internal.TailFilter.doFilter(
     at weblogic.servlet.internal.FilterChainImpl.doFilter(
     at weblogic.servlet.internal.RequestEventsFilter.doFilter(
     at weblogic.servlet.internal.FilterChainImpl.doFilter(
     at weblogic.servlet.internal.WebAppServletContext$
     at Source)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(
     at weblogic.servlet.internal.WebAppServletContext.execute(


  • Correct Answers - 10 points
  • Helpful Answers - 5 points