wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes Could not find the main class  : error in jboss starting in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Could not find the main class  : error in jboss starting in eclipse" Watch "Could not find the main class  : error in jboss starting in eclipse" New topic
Author

Could not find the main class : error in jboss starting in eclipse

dilan alex
Greenhorn

Joined: Sep 17, 2011
Posts: 27
Hi All,

I'm using jboss 5.0 and I tried start it from Eclipse Indigo.
What I got is an error message saying ''Could not find the main class: G:\program. Program will exit"

In the console there is a error log like this



I'm Using Windows 7 and java 1.6. path and classpath has been set propely. (Im using java 64 bit version).
I have done this before and did not happen like this.

Can any one help.

Regards,
Dila.
dilan alex
Greenhorn

Joined: Sep 17, 2011
Posts: 27
Hi All,

I found that same jboss server is starting and running well in Spring Tool Suite(STS) IDE.
And this is running well in Command prompt also.

Its little tricky but still I cannot find the reason that is not running in Eclipse Indigo IDE.

Regards,
Dila.
dilan alex
Greenhorn

Joined: Sep 17, 2011
Posts: 27
Hi all,

I removed Eclipse and got a new copy of Eclipse. (Jboss tools have been installed in earlier version) and could run jboss server from it.

Regards,
Dil.
 
Don't get me started about those stupid light bulbs.
 
subject: Could not find the main class : error in jboss starting in eclipse