my dog learned polymorphism*
The moose likes JBoss/WildFly and the fly likes How to deploy applications created with Eclipse Indigo 3.7  in Jboss 5.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to deploy applications created with Eclipse Indigo 3.7  in Jboss 5.0 " Watch "How to deploy applications created with Eclipse Indigo 3.7  in Jboss 5.0 " New topic
Author

How to deploy applications created with Eclipse Indigo 3.7 in Jboss 5.0

Nid Arora
Greenhorn

Joined: Feb 27, 2013
Posts: 1
I am using Eclipse Indigo 3.7 to deploy the applications on Jboss 5.0.

The default JRE for Eclipse is Java 7 .
Jboss 5.0 is not compatible with Java 7
https://issues.jboss.org/browse/JBPAPP-7046?_sscc=t

When I try to run Jboss I get following exception



The same problem is replicated in http://itpete.blogspot.com/

I tried running Eclipse and Jboss with Java 5 and got bad .class file exception.

Is there any way to run Jboss 5 with Eclipse Indigo 3.7?
Prabhakar Reddy Bokka
Ranch Hand

Joined: Jul 26, 2005
Posts: 189

Change your project build path to use JRE version that is compatible with Jboss 5.
That resolves the inconsistency of the versions.


SCJP 5, SCWCD 5
 
Don't get me started about those stupid light bulbs.
 
subject: How to deploy applications created with Eclipse Indigo 3.7 in Jboss 5.0
 
Similar Threads
Could not find the main class : error in jboss starting in eclipse
Garbage collection & string literal pool
Sealing Violation
java.lang.NoClassDefFoundError
Error while deploying jbossweb-tomcat50.sar in JBoss 5