Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error: Class names, 'web.xml', are only accepted if annotation processing is explicitly requested

 
sagar shiraguppi
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am running my first Servlet program on edit plus I am getting the above error after compilation, please let me know the solution...directory structure is correct as per standards..

thanks in advance..
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like you're trying to "run" your servlet instead of packaging it and deploying it to a servlet container such as tomcat.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic