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

SOLVED

NoClassDefFound for HttpServletRequest

Avatar

Level 2

Hi,

I'm encountering java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest in AEM 6.3 even after Maven Repository: javax.servlet » javax.servlet-api » 4.0.0 to my dependencies.

Is there something I am doing wrong?

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Level 10

Try using the Dependency Finder -

http://localhost:4502/system/console/depfinder

This will inform you if this is installed in your OSSi service container:

ADep.png

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Try using the Dependency Finder -

http://localhost:4502/system/console/depfinder

This will inform you if this is installed in your OSSi service container:

ADep.png