This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes package javax.servlet.annotation does not exist Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "package javax.servlet.annotation does not exist" Watch "package javax.servlet.annotation does not exist" New topic
Author

package javax.servlet.annotation does not exist

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 833
Hello,

I am facing the following error while compiling the code:



One company sent me the code to make a soap request but unable to compile it. Here is the code:


Thanks & best regards
bhanu chowdary
Ranch Hand

Joined: Mar 09, 2010
Posts: 256
What is the version of servlet api you are using?? WebServlet exists since 3.0
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 833
I installed Tomcat 7.2.0 and this is fixed. Thanks for your assistance
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: package javax.servlet.annotation does not exist
 
jQuery in Action, 3rd edition