at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Caused by: java.lang.UnsupportedClassVersionError: org/apache/poi/hssf/usermodel/HSSFWorkbook (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:540)
at com.sapportals.portal.prt.util.AutoClassLoader.findClassInternal(AutoClassLoader.java:880)
at com.sapportals.portal.prt.util.AutoClassLoader.loadClassLocally(AutoClassLoader.java:1250)
at com.sapportals.portal.prt.util.AutoClassLoader.loadClass(AutoClassLoader.java:1388)
at com.sapportals.portal.prt.util.AutoClassLoader.loadClass(AutoClassLoader.java:1357)
at com.sapportals.portal.prt.util.AutoClassLoader$2.run(AutoClassLoader.java:1465)
at java.security.AccessController.doPrivileged(Native Method)
The UnsupportedClassVersionError happens when you compile a Java application with a more recent version fo the JDK than what you are running with. For example if you compile with JDK 6 and then try to run with JDK 5. In your case, it looks like you are using JDK 1.4 while the Apache JAR you are using was compiled with 1.5. You need to upgrade the JDK you are using.
Peter Johnson wrote:The UnsupportedClassVersionError happens when you compile a Java application with a more recent version fo the JDK than what you are running with. For example if you compile with JDK 6 and then try to run with JDK 5. In your case, it looks like you are using JDK 1.4 while the Apache JAR you are using was compiled with 1.5. You need to upgrade the JDK you are using.
Thank You.
subject: UnsupportedClassVersionError: org/apache/poi/hssf/usermodel/HSSFWorkbook (Unsupported major.minor ve