dev@jsftemplating.java.net

Bad version number in .class file error

From: Karam Singh Badesha <Karam.Badesha_at_Sun.COM>
Date: Wed, 09 Jan 2008 14:13:32 -0800
Hi,
I had been using netbeans5.5 for some time and everything was working great. Since I moved to netbeans6, I am able to compile file but when I try to access my loaded application on appserver, I get the following error:

-----

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception

root cause

java.lang.UnsupportedClassVersionError: Bad version number in .class file

note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server Platform Edition 9.0_01 logs.

Does anyone know what is causing this? I don't remember changing anything else in my application.

thanks
Karam