不支持的major.minor版本49.0 [英] Unsupported major.minor version 49.0
问题描述
每当我登录我的应用程序时,我都会收到以下异常...
javax.servlet.ServletException:
com / sun / org / apache / xalan / internal / xsltc / trax / TransformerFactoryImpl
(不支持的major.minor版本49.0)
这是什么意思,我该如何解决这个问题?
你的JVM之间存在不匹配的问题用于运行.class,以及用于编译.class的Java版本。运行它的JVM是用于编译该类的JVM的早期版本。
详细信息这里,你有一个1.5版本的类,你试图在早期的JVM上运行。
<编辑:WAS 5.1使用JDK 1.4,它会出现。
I am getting the following exception whenever I login to my application ...
javax.servlet.ServletException: com/sun/org/apache/xalan/internal/xsltc/trax/TransformerFactoryImpl (Unsupported major.minor version 49.0)
What does this mean and how can I resolve the problem?
You have a mismatch between your JVM that you're using to run the .class, and the version of Java used to compile the .class. The JVM running it is an earlier version of the JVM used to compile that class.
As detailed here, you have a version 1.5 class that you're trying to run on an earlier JVM.
EDIT : WAS 5.1 uses JDK 1.4, it would appear.
这篇关于不支持的major.minor版本49.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!