Hi... When I run my servlet thru weblogic server it shows me following error: Error loading servlets: examples.servlets.SessionCounter
- Posted by: chintan parekh
- Posted on: April 28 2004 04:29 EDT
Java.lang.NoClassDefFoundError : examples/servlets/SessionCounter (wrong name : SessionCounter)
I have posted SessionCounter.class file in C:\weblogic\myserver\servletclasses\examples\servlets\ folder and also registerd with weblogic.httpd.register.ServletCount in weblogic.properties file
Please help me to solve this error
Thanks in advance
make sure the package is correct and weblogic.httpd.servlet.classpath is set properly to find your "SessionCounter" as follows.
Hi,make sure the package is correct and weblogic.httpd.servlet.classpath is set properly to find your "SessionCounter" as weblogic.httpd.servlet.classpath=C:/weblogic/myserver/servletclassesI have chked path is properly set weblogic.httpd.servlet.classpath=D:/weblogic/myserver/servletclasses but still it is not working while other servlets in the same folder are working properly .
Please reply me as early as possible