Sandro
Sandro

Reputation: 1276

Classes can not be resolved when debugging

I am debugging a java web application running on JBoss 6 using Eclipse. I am not remote debugging. When I try to inspect the value of any variable (Strings etc.), I get the message "The type javax.el.ELResolver cannot be resolved. It is indirectly referenced from required .class files".

The strange thing is, the problem only happens when inspecting variables. The application itself does not seem to miss any classes.

How can I make inspecting variable values work again?

Upvotes: 0

Views: 2628

Answers (1)

Eugenio Cuevas
Eugenio Cuevas

Reputation: 11078

It is because eclipse cannont locate the JBoss runtime. Add the JBoss runtime to the classpath:

Project->Properties-> Java Build Path-> Libraries -> Add library -> JBoss runtime

Upvotes: 5

Related Questions