Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts Weblogic

 
Venkat Babu
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have developed a web application in eclipse and deployed in tomcat, wroks great. I want to deploy the same application in Weblogic 8.1. I took the war file and deployed in weblogic, but it doesn't work. It says one of the .class file in WEB-INF/classes has wrong version.

UrlConstants.class file has wrong version 49.0, should be 48.0

Am I doing anything wrong, not sure what the problem is. Or I need to follow different procedure to create a struts application in weblogic?
If anyone has any ideas please let me know. Thanks.

Babu
 
Carol Enderlin
drifter
Ranch Hand
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WebLogic Server 8.1 supports java version 1.4.2, the error indicates the class was compiled with java 5 aka 1.5, not supported until WebLogic version 9.x.

wrong version 49.0, should be 48.0
 
Venkat Babu
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great. It worked. Thank you very much.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic