This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt 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
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "eclipse & tomcat error" Watch "eclipse & tomcat error" New topic

eclipse & tomcat error

Max zhang

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

Joined: May 26, 2003
Posts: 32609

What plugin are you using to get JSP support in Tomcat? Sysdeo? Lomboz?

The answer to this will help people in answering your question.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Max zhang

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

Joined: Oct 28, 2006
Posts: 14
Can somebody give me a little instruction?
I agree. Here's the link:
subject: eclipse & tomcat error
It's not a secret anymore!