Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Missing artifact javax.servlet.jsp:jsp.api:jar:2.1 Eclipse error



When I try to UPDATE my Maven project ( Chapter 8 - Using JSP with AEM 6.0 ) after I updated my main pom.xml with the javax.servlet.jsp dependancy, I get the following error :Missing artifact javax.servlet.jsp:jsp.api:jar:2.1

I even tried to compile from command line using mvn compile and get the same error :

[ERROR] Failed to execute goal on project company-training-project-bundle: Could  not resolve dependencies for project

Could not find artifact javax.servlet.jsp:jsp.api:jar:2.1 in adobe ( -> [Help 1]

If I look at my .m2 dir, I can see that it attempted to get the jar, but it wasn't able to grab it :


2 Replies



Hi Billy,

Try changing the URL from ( to (, i.e. add the https.

That should do it. Let us know if it doesn't work.



Hi James,

Still doesn't work . I updated the value in the settings.xml in my .M2 folder .

Anything else I need to do ? Perhaps I am missing something here .