This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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: 732
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: 732
I installed Tomcat 7.2.0 and this is fixed. Thanks for your assistance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: package javax.servlet.annotation does not exist