Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

eclipse & tomcat error

 
Max zhang
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys,after I deployed a JSP project successfully in eclipse,I met with the problem when I try to start Tomcat from Eclipse IDE.There is a popup,and it says'Could not find the main class.Program will exit.'

'A configuration error occured during startup.Please verify the preference field with the prompt:java.lang.NoClassDefFoundError:C:\Program
Exception in thread "main" '

I configured JDK properly and I got the correct result through running HelloJAVA,so what do I miss in the preference setting in Eclipse IDE?

Would somebody give me some instruction?Appreciate your help.

[made subject more meaningful - was "error"]
[ November 13, 2006: Message edited by: Jeanne Boyarsky ]
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34410
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Max,
What plugin are you using to get JSP support in Tomcat? Sysdeo? Lomboz?

The answer to this will help people in answering your question.
 
Max zhang
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well,I`m using Eclipse+Myeclipse+Tomcat,and I wonder what`s the problem.
 
Max zhang
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can somebody give me a little instruction?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic