Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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

 
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

 
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!