- This topic has 6 replies, 4 voices, and was last updated 20 years, 10 months ago by
Riyad Kalla.
-
AuthorPosts
-
gilespMemberHi 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
GilesPS: Love your work ! 🙂
January 28, 2004 at 6:57 am #202520
No OperationMemberupgrade, this bug is fixed since 2.7RC1
NOP
January 28, 2004 at 7:31 am #202532
Riyad KallaMemberGiles 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.
January 29, 2004 at 4:10 am #202603
gilespMemberWicked … 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
GilesJanuary 29, 2004 at 5:05 am #202604
gilespMemberWhopps … okay , just seen the thread in upgrading and installing … questioned answered
August 10, 2004 at 2:11 pm #211800
visu5678MemberHow do I download and intsall MyEclipse 2.7 to solve this problem?
August 10, 2004 at 2:30 pm #211802
Riyad KallaMemberVisu,
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. -
AuthorPosts