• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UnsupportedClassVersionError & com.ibatis.sqlmap.client.SqlMapException: Error. Could not set parame

 
Lakshminarasimha Reddy
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using jdk 1.6, Ibatis, spring mvc, jsp for my project. I am able to run my project in jboss successfully. But facing the problem while running the same project in weblogic v8.1 server.
I am getting below exception, Please let me know if anyone has idea abt this.

Exception:weblogic.management.ApplicationException: start() failed. Module: ControlPlan_21042011 Error: weblogic.management.DeploymentException: Error creating bean with name 'sqlMapClient' defined in ServletContext resource [/WEB-INF/applicationContext-controlPlan.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Error occurred. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMap/select'. Cause: com.ibatis.sqlmap.client.SqlMapException: Error. Could not set parameter class. Cause: java.lang.ClassNotFoundException: Class bytes found but defineClass()failed for: 'com.ge.comfin.controlplan.dao.ibatis.params.ControlPlanParams' - with nested exception: [java.lang.UnsupportedClassVersionError: com/ge/comfin/controlplan/dao/ibatis/params/ControlPlanParams (Unsupported major.minor version 49.0)]


Exception: Exception:weblogic.management.ApplicationException: start() failed. Module: ControlPlan_21042011 Error: weblogic.management.DeploymentException: Error creating bean with name 'sqlMapClient' defined in ServletContext resource [/WEB-INF/applicationContext-controlPlan.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Error occurred. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMap/select'. Cause: com.ibatis.sqlmap.client.SqlMapException: Error. Could not set parameter class. Cause: java.lang.ClassNotFoundException: Class bytes found but defineClass()failed for: 'com.ge.comfin.controlplan.dao.ibatis.params.ControlPlanParams' - with nested exception: [java.lang.UnsupportedClassVersionError: com/ge/comfin/controlplan/dao/ibatis/params/ControlPlanParams (Unsupported major.minor version 49.0)]

Best regards,
Lakshminarasimha Reddy
Java Developer, Delivery Innovation(IRL)
Patni Computer Systems Ltd. Tel: 91-80-4190-2100
Ext: 1527 LL: 9-617-1022 Mob: +918722100095
Lakshminarasimha.Reddy@patni.com

 
Jeff West
Greenhorn
Posts: 3
IntelliJ IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WebLogic Server 8.1 is pretty old and does not support Java 1.6. This is why you are getting the unsupported Class Version error. I believe 8.1 supports JDK 1.4. Try looking at 10.3.4 which is the current version.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic