-1

I have used jdk 1.6 to compile my java web application project. After war file made, I upload this war to weblogic for deployment. When I started this application, it show below error.

java.lang.UnsupportedClassVersionError: org/apache/struts2/dispatcher/filter/StrutsPrepareAndExecuteFilter : unsupported classversion 51.0

Do you know why??

MWiesner
  • 8,868
  • 11
  • 36
  • 70
Raymond
  • 11
  • 4

1 Answers1

0

According to what is written in there: How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version your struts library is compiled by Java SE 7 = 51.

What you can do is:

  • get older library of struts compiled by Java 6
  • upgrade jrockit/jdk to 1.7
tmucha
  • 689
  • 1
  • 4
  • 19