Quantcast
Viewing all articles
Browse latest Browse all 3285

Compilation Error: javax.servlet.annotation doesn't exist

Hello,

 

I created a Dynamic Web Project and converted it to a Maven Project. When I try to execute Maven Install I get the following Error:

[ERROR] COMPILATION ERROR :

[ERROR] bootstrap class path not set in conjunction with -source 1.6

C:\Users\D056848\workspace\social-media-integration\src\com\sap\netweaver\cloud\social\media\TwitterServlet.java:[5,31] error: package javax.servlet.annotation does not exist

[ERROR] C:\Users\D056848\workspace\social-media-integration\src\com\sap\netweaver\cloud\social\media\TwitterServlet.java:[13,1] error: cannot find symbol

 

I attached the complete Maven log for further details. Furthermore I attached my pom.xml which is basically the same as the pom.xml from the end-to-end tutorial.

 

In Project Properties --> Java Build Path the SAP Netweaver Cloud Library is existent (including javax.servlet-3.0.0.v201103241009.jar and javax.servlet.jsp-2.2.0.v201103241009.jar)

 

Any ideas?

 

Regards,

Jan

 

 


Viewing all articles
Browse latest Browse all 3285

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>