File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes error: Class names, 'web.xml', are only accepted if annotation processing is explicitly requested Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "error: Class names, Watch "error: Class names, New topic
Author

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

sagar shiraguppi
Ranch Hand

Joined: Jul 16, 2007
Posts: 74
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

Joined: Oct 25, 2008
Posts: 2700

Sounds like you're trying to "run" your servlet instead of packaging it and deploying it to a servlet container such as tomcat.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
 
jQuery in Action, 2nd edition
 
subject: error: Class names, 'web.xml', are only accepted if annotation processing is explicitly requested
 
Similar Threads
Tomcat Error
html error when posting
Exception UnmarshalException
HOw to get session variables between portlets ?
cannot find the declaration of element taglib