aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse not recognizing the classes folder in WEB-INF. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse not recognizing the classes folder in WEB-INF." Watch "Eclipse not recognizing the classes folder in WEB-INF." New topic
Author

Eclipse not recognizing the classes folder in WEB-INF.

akash kumar
Ranch Hand

Joined: Jun 13, 2007
Posts: 63
Hi! I changed the default output classes folder from the build folder to the WEB-INF folder. It was working fine for about two weeks since I made the change. But today Eclipse is not recognizing the classes folder and throwing "java.lang.ClassNotFoundException" when I run the application. Even the Project Explorer is not showing the classes folder. And when I try to create the classes folder it says the folder already exists. But the navigator shows the classes folder and I can find the classes for the respective source files. What might be the problem? I tried clean rebuild, refresh, restart eclipse but in vain.
akash kumar
Ranch Hand

Joined: Jun 13, 2007
Posts: 63
I made little changes to source file so that eclipse would recompile the class and it worked but still the Eclipse is not showing the classes folder under the WEB-INF folder. Any bugs in Eclipse?
chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 800

akash kumar wrote:I made little changes to source file so that eclipse would recompile the class and it worked but still the Eclipse is not showing the classes folder under the WEB-INF folder. Any bugs in Eclipse?


I too experienced this problem in beginning. Do one thing, first close eclipse, navigate to your workspace/your_project/WEB-INF, cut the classes folder and paste it somewhere else, example desktop. Now open eclipse environment, go to your project, there you can find a folder named build. Now under that folder create a folder named classes. Copy your class files into that folder.

Or else you can do one thing, download the latest eclipse galileo. This fixes most of the problems which previous release experienced.


Love all, trust a few, do wrong to none.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse not recognizing the classes folder in WEB-INF.
 
Similar Threads
need a program for Java Bean and JSP
where to store the js files in tomcat
where to store the js files in tomcat
HTTP Status 404 using Servlet 3.0
Tomcat Working directory