This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes eclipse & tomcat error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "eclipse & tomcat error" Watch "eclipse & tomcat error" New topic
Author

eclipse & tomcat error

Max zhang
Greenhorn

Joined: Oct 28, 2006
Posts: 14
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 ]

Impossible is nothing.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30789
    
157

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Max zhang
Greenhorn

Joined: Oct 28, 2006
Posts: 14
well,I`m using Eclipse+Myeclipse+Tomcat,and I wonder what`s the problem.
Max zhang
Greenhorn

Joined: Oct 28, 2006
Posts: 14
Can somebody give me a little instruction?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: eclipse & tomcat error