• 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

Servlet: Class Not Found Exception?

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all.

I was following this tutorial about JSP Servlet: https://www.youtube.com/watch?v=Av6zh817QEc

And when I run it and tried accessing the Servlet (except changing the package name to just 'com.pkg'), I get a ClassNotFoundException on the package that I built:



Where did I go wrong in this? Here's my web.xml:



I need help in this. Thanks.
 
Rancher
Posts: 4801
50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where is your class file?
 
Kristian Wijaya
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where does Eclipse store the Class files? I wanted to 'build' or 'publish' and the Eclipse just won't let me.

Using Eclipse Neon, btw.

EDIT: I managed to make it work when I downgrade to Eclipse Mars, whereas the Class files were created in the proper folder. Why doesn't it build the class files in Neon?
 
reply
    Bookmark Topic Watch Topic
  • New Topic