Mary Defal
Mary Defal

Reputation: 27

The type javax.ServletException cannot be resolved with Worklight

I am using Eclipse Luna and Worklight v6.2 with Java 7. I am trying to run a project but I am getting the error

the type javax.servlet.ServletException cannot be resolved. It is indirectly referenced from >required .class files

I have read many posts with similar issue but not with worklight. I am supposed to find servlet.jar and add it in the build path but I don´t know where to find it..

Thank you

Upvotes: 0

Views: 2813

Answers (2)

Guilherme
Guilherme

Reputation: 897

I am understand that you are working with native eclipse java project. It is not a maven project. If is: Right click in your project -> build path -> configure build path. Then select: add library and server runtime. Worked for me. If don't for you, maybe your container is not well configurated in eclipse.

Upvotes: 1

Zac Lozano
Zac Lozano

Reputation: 818

You will need Eclipse for JavaEE Developers.

Upvotes: 0

Related Questions