Expand my Community achievements bar.

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