• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eclipse not recognizing the classes folder in WEB-INF.

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 806
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic