Recently, when I was working on a website together, the background would be able to start normally, and an error would be reported on my computer.
Severe: NULL component Catalina: TYPE = jspmonitor, name = jsp, webmodule = // localhost/rixinweb, j2eeapplication = none, j2eeserver = none2012-8-21 22:14:06 Org. apache. catalina. startup. hostconfig deploydirectory: Error deploying web application directory rixinwebjava. lang. unsupportedclassversionerror: bad version number in. class fileat Java. lang. classloader. defineclass1 (native method) at java. lang. classloader. defineclass (unknown source) at java. security. secureclassloader. defineclass (unknown source) at Org. apache. catalina. loader. webappclassloader. findclassinternal (webappclassloader. java: 1815) at Org. apache. catalina. loader. webappclassloader. findclass (webappclassloader. java: 872) at Org. apache. catalina. loader. webappclassloader. loadclass (webappclassloader. java: 1325) at Org. apache. catalina. loader. webappclassloader. loadclass (webappclassloader. java: 1204) at Org. apache. catalina. startup. webannotationset. loadclassannotation (webannotationset. java: 145) at Org. apache. catalina. startup. webannotationset. loadapplicationfilterannotations (webannotationset. java: 84) at Org. apache. catalina. startup. webannotationset. loadapplicationannotations (webannotationset. java: 57) at Org. apache. catalina. startup. contextconfig. applicationannotationsconfig (contextconfig. java: 297) at Org. apache. catalina. startup. contextconfig. start (contextconfig. java: 1064) at Org. apache. catalina. startup. contextconfig. lifecycleevent (contextconfig. java: 261) at Org. apache. catalina. util. lifecyclesupport. firelifecycleevent (lifecyclesupport. java: 120) at Org. apache. catalina. core. standardcontext. start (standardcontext. java: 4238) at Org. apache. catalina. core. containerbase. addchildinternal (containerbase. java: 761) at Org. apache. catalina. core. containerbase. addchild (containerbase. java: 741) at Org. apache. catalina. core. standardhost. addchild (standardhost. java: 525) at Org. apache. catalina. startup. hostconfig. deploydirectory (hostconfig. java: 920) at Org. apache. catalina. startup. hostconfig. deploydirectories (hostconfig. java: 883) at Org. apache. catalina. startup. hostconfig. deployapps (hostconfig. java: 492) at Org. apache. catalina. startup. hostconfig. check (hostconfig. java: 1206) at Org. apache. catalina. startup. hostconfig. lifecycleevent (hostconfig. java: 293) at Org. apache. catalina. util. lifecyclesupport. firelifecycleevent (lifecyclesupport. java: 120) at Org. apache. catalina. core. containerbase. backgroundprocess (containerbase. java: 1307) at Org. apache. catalina. core. containerbase $ containerbackgroundprocessor. processchilbase (containerbase. java: 1571) at Org. apache. catalina. core. containerbase $ containerbackgroundprocessor. processchilbase (containerbase. java: 1580) at Org. apache. catalina. core. containerbase $ containerbackgroundprocessor. run (containerbase. java: 1560) at java. lang. thread. run (unknown source)
Later, I went to the Internet to find the JDK version. The solution is as follows:
If the project was originally compiled by jre1.5 and switched to a new myeclipse version, it must be maintained at 1.5 instead of 1.6. The modification method is as follows:
Window --> preferences --> JAVA --> compiler compience level: Change 1.6 to 1.5.
I can use this method. There is also a saying:
Solution: Your JDK version is incompatible. Step 1: Open myeclipse
2. Window
3. preferences
4. Select a Java Node
5. Installed jres
6. You can see what version and path of the currently used JVM are. Now we need to change the virtual machine like tomcat.
6. Edit
7. JRE home directory
8. Browse: C: \ sun \ SDK \ JDK \ JRE (find your installation directory)
9. OK