wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes UnsupportedClassVersionError & com.ibatis.sqlmap.client.SqlMapException: Error. Could not set parame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "UnsupportedClassVersionError & com.ibatis.sqlmap.client.SqlMapException: Error. Could not set parame" Watch "UnsupportedClassVersionError & com.ibatis.sqlmap.client.SqlMapException: Error. Could not set parame" New topic
Author

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

Lakshminarasimha Reddy
Greenhorn

Joined: Apr 15, 2011
Posts: 11
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

Joined: Apr 21, 2011
Posts: 3

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.
 
GeeCON Prague 2014
 
subject: UnsupportedClassVersionError & com.ibatis.sqlmap.client.SqlMapException: Error. Could not set parame