Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet: Class Not Found Exception?

 
Kristian Wijaya
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • 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.
 
Dave Tolls
Ranch Hand
Posts: 1906
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where is your class file?
 
Kristian Wijaya
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic