0

I have searched stackoverflow before posting this question.

In eclipse i am running a tomcat server. I deleted the .class files from the work folder of the tomcat server. From then on I am facing the issue saying the class couldnot be found. I re-built the project. Didnt help

Can you please suggest how to fix this issue.

1
  • Did you re-publish your project to tomcat? also check that if you have beans and servlets than are they build in the WEB-INF/classes folder. Commented Jun 21, 2011 at 12:28

2 Answers 2

2

You should NOT run Tomcat as a normal program inside Eclipse. You should use the EE version of Eclipse, and then add Tomcat in the server view. This will allow you to deploy Dynamic Web Projects directly to Tomcat or any other supported server.

Sign up to request clarification or add additional context in comments.

1 Comment

Also, you can right-click the server name in the server view and select "Clean Tomcat Work Directory" which I would think is preferable to manually cleaning the work directory.
0

delete the server from eclipse server view and create it again.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.