• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
dilan alex
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic