aspose file tools*
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 Spring in Action this week in the Spring 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