Well, the package doesn't match. Are you compiling inside an IDE, or outside? What's in the %CLASSPATH% environment variable? With the incomplete information given I'm going to assume you're not including /WEB-INF/classes on the classpath, hence it can't find the class in question.
posted 9 years ago
Thanks for reply.
GetUserAction is under com/kogent/action folder.
Moreover when i did echo %CLASSPATH% word %CLASSPATH% is being displayed in at the beginning of the CLASSPATH.
I am compiling code outside IDE as somehow (not sure why) IDE is not able to compile code automatically.
However i added /WEB-INF/classes in classpath and tried to compile it.
Now i am getting error related to HttpServletRequest.
Cannot Find Symbol
Symbol: class HttpServletRequest
But i have added servlet.jar in build path as well as in CLASSPATH. This jar is also present in the lib folder.