It seems you compiled your code with a different JDK version than the one you are using to run the code with.
In your application server startup script put something like "ECHO %JAVA_HOME%" to see which jdk you are using.
Joined: Jan 13, 2008
Ok. Thanks for the info. My application is developed under 1.5 and server contains 1.6. That explains.
How do I dupm my source code (including java, jsp.xml etc.. entire set of files as it is a web application) into server with jdk1.6 and compile it in the server. Please let me know. I want to try this instead of deploying war file.