facebook

The type javax.servlet.http.HttpServletRequest cannot be res

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #287257 Reply

    While debugging an application that uses my jar, for which I have provided source path as well, I am getting error when I add a “watch” for one of values, e.g. req.

    I am watching value req and below + sign I have following text.

    The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced from required .class files

    NOW THIS IS INTERESTING !

    During the same debug session, at the same time, window “variables” does show value of req variable.

    How is this possible? I need watch window as usually there I test new commands e.g.

    req.getAttribute(“Liferay_Portal_blablabla”);

    So this feature is important !

    Recently I was moving jars from webapp/ROOT/WEB-INF/lib to tomcat/lib/ext in order to have single class loader for all applications in application server. Is this possible cause of this strange behaviour. Does MyEclipse have issue while “watching” classes loaded by common class loader ?

    #287288 Reply

    Loyal Water
    Member

    I just check with my dev team and this is a known issue with the *watch expression* that we want to try and get fixed in 7.0. Sorry for the inconvenience.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: The type javax.servlet.http.HttpServletRequest cannot be res

You must be logged in to post in the forum log in