Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

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

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Greenhorn
Posts: 3
IntelliJ IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic