my dog learned polymorphism
The moose likes Struts and the fly likes Struts Weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Weblogic" Watch "Struts Weblogic" New topic

Struts Weblogic

Venkat Babu
Ranch Hand

Joined: Jan 12, 2007
Posts: 47

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.

Carol Enderlin
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
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

Joined: Jan 12, 2007
Posts: 47
Great. It worked. Thank you very much.
I agree. Here's the link:
subject: Struts Weblogic
It's not a secret anymore!