facebook

JSP erroneous compilation errors ??? [Closed]

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

    gilesp
    Member

    Hi there Guys

    I seem to have a problem * sometimes * on compiling my jsps. I’m using myEclipse 263 with Eclipse 2.1.2 and have jsp compiling turned on.

    Most of the time everything is fine. I’ll then add some tag or scriplet and when the jsp compile recompiles i get the following errors:

    de cannot be resolved or is not a valid superclass (indicated at the very top of the just – on a comment.)

    The method getPageContext(Servlet, ServletRequest, ServletResponse, String, boolean, int, boolean) in the type JspFactory is not applicable for the arguments (_SBLoginError$002ejsp$, HttpServletRequest, HttpServletResponse, null, boolean, int, boolean) (error appears on the same line as above)

    The method getServletConfig() is undefined for the type _SBLoginError$002ejsp$ (error appears on the same line as above)

    If i then remove the tag, and try and recompile – the errors stay there. I’m pretty sure the tag or scriptlet is valid as it compiles and loads (outside of eclipse) succesfully when i actually hit the page.

    In the past i’ve managed to remove the compilation errors by a) either rebuilding my entire project (through eclipse), or cutting out the entire code of the jsp and then saving, thereby removing all errors, and then pasting the code back in. This process used to work – but i now have the above errors that just WONT go away.

    Is this a bug ? Has anyone else had a similar issue ? Is there a work around ? Am i just been doff ?

    Cheers
    Giles

    PS: Love your work ! 🙂

    #202520

    No Operation
    Member

    upgrade, this bug is fixed since 2.7RC1

    NOP

    #202532

    Riyad Kalla
    Member

    Giles this was a common occurance with 2.6.x (atleast I saw it alot). The only solution for me (when the pages got out of sync like that) was to rebuild the JSP pages. In 2.7 things have been improved quite a bit and I don’t have to rebuild anymore to get rid of stray errors. Also the taghandling is much better by the editor.

    #202603

    gilesp
    Member

    Wicked … thanks – it works !

    I had previously installed the 2.7, but had a validation exception problem on importing an existing project.

    It all seems fine now, so was probably a configuration problem i previoulsy had.

    Just on a side -> how does one get access to MyEclipse 3.7 RC2 ? I can’t see it from the downloads section. If i become a paying member (which i shall do first thing on pay day 😯 ), will the download section contain the latest relaease ?

    Cheers
    Giles

    #202604

    gilesp
    Member

    Whopps … okay , just seen the thread in upgrading and installing … questioned answered

    #211800

    visu5678
    Member

    How do I download and intsall MyEclipse 2.7 to solve this problem?

    #211802

    Riyad Kalla
    Member

    Visu,
    You will want to head on over to the downloads section here: http://www.myeclipseide.com/ContentExpress-display-ceid-10.html and then select Eclipse 2.x current builds, that will be 2.8 Beta 1 which has some nice additions over 2.7.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: JSP erroneous compilation errors ??? [Closed]

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