Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error after recompiling servlet code

Tualha Khan
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,
Some times (and not everytime, just some times) I get the following error when I re-compile my
servlet code and access it using a web browser.
I do not restart tomcat after re-compiling. I get this error when I am just trying to open the
html page which will ultimately call the servlet. However, after restarting tomcat, everything
works fine again. Why?

Error: 500
Location: /vsnlform.html
Internal Servlet Error:
java.lang.IllegalStateException: Can't happen - classname is null, who added this ?
at org.apache.tomcat.core.ServletWrapper.loadServlet(
at org.apache.tomcat.core.ServletWrapper.init(
at org.apache.tomcat.core.Handler.service(
at org.apache.tomcat.core.ServletWrapper.service(
at org.apache.tomcat.core.ContextManager.internalService(
at org.apache.tomcat.core.ContextManager.service(
at org.apache.tomcat.service.TcpWorkerThread.runIt(, Compiled Code)
at org.apache.tomcat.util.ThreadPool$, Compiled Code)
Thanks a lot.
Tualha Khan
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic