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.
Joined: Jun 13, 2007
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?
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.