facebook

Random "class not found" errors in jsp

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #220584 Reply

    accord
    Member

    Hi,

    I’ve just installed your version 3.8.2 on Eclipse 3.0.1. All my web projects are correctly reimported and run fine.
    On some jsp though, I’ve got one or more errors of the following kind :

    
    package javax.servlet does not exist:  import javax.servlet.*;.
    cannot resolve symbol:  symbol  : class HttpServletRequest.
    package javax.servlet.http does not exist:  import javax.servlet.http.*;.
    

    always followed by “No JSP line number was avaliable so line 1 was used for the marker.”
    My project classpath correctly refers to the ad hoc library (weblogic). These lines only appear on certain jsp, that don’t differ in my sense from the other ones. Maybe these messages hide some other error in the page, like the “de cannot be resolved or is not a valid superclass” of versions prior to 2.7. Yet I’ve no problem whatsoever running them.
    Another thing I noticed, when I use completion code in a jsp for say, declaring a new instance of a class, the jsp editor doesn’t add a <@page import> clause anymore, but writes the fully qualified name of the class instead. Is there a setting for that ?

    Thanks for your help

    Valerien

    #220604

    Riyad Kalla
    Member

    Valerien,
    This is odd that it is happening on with some JSP pages… have you tried Project > Clean and then rebuilding your project? Maybe they are stray errors that just got forgotten?

    Also as far as @page import is concerned, it will be back in 3.8.3, sorry for the inconvenience.

    #220642

    accord
    Member

    Yes I have tried clean/rebuild, and the same jsp pages still have the same messages. I just can’t see why, the same pages used to be OK under Eclipse 2.0.2 and the relating MyEclipse plugin.
    I guess something bothers your JSP Editor, but frankly I don’t want to spend more time on that, since they run fine under weblogic 6.1.

    Thanks for your information about imports.

    Valerien

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Random "class not found" errors in jsp

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