facebook

JSP page cannot load taglib class [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 10 posts - 16 through 25 (of 25 total)
  • Author
    Posts
  • #202069 Reply

    hbomb
    Member

    Hi again Riyad,

    I’m happy to report that I solved my problem however, it wasn’t pretty.
    I un-installed both ME and Eclipse and then re-installed them both again and imported my
    project into the ne workspace.

    I’m a bit miffed about not really knowing what the problem was but I can live with not knowing. 😀
    By the way, Are there any problems running the Struts Console plugin together with ME? I was
    using it because it’s pretty convenient but I left it out just in case it was infact the problem.

    Thank you for all your help.

    Best Regards
    -Hector

    #202086 Reply

    Scott Anderson
    Participant

    Hector,

    We did receive your test project; thank you for sending it. It has been queued for development to look at. I’ve been told that one of the engineers will look at it today. I’ll post back our findings as soon as we have them.

    #202094 Reply

    Riyad Kalla
    Member

    Hector I’m glad you got everything working but can understand how frustrating it can be sometimes not knowing why.

    I am not aware of any problems using the struts console will cause, but if you install it and everything stops working again, atleast you know what the problem was 🙂

    #202117 Reply

    Scott Anderson
    Participant

    Hector,

    I created a new web project, and imported your files. JSP code completion for your tag libraries worked just fine for me. I’ve exported the complete project and sent it to you and Riyad. Please import the entire thing into your workspace by using Import… Existing Project and I think you’ll see completion works fine. If it doesn’t, we’ll need to diagnose your installation.

    #202123 Reply

    Riyad Kalla
    Member

    I just tried the test app, works fine.

    JDK 1.4.2_03
    WinXP SP1
    Eclipse 2.1.2
    MyEclipse 2.7RC2

    #202142 Reply

    hbomb
    Member

    Hi Scott,

    I tried importing your project but still had the same errors. I believe though, that I may have found the problem but I’m not sure why it’s a problem…Don’t you hate when that happens? 8)

    I was poking around in the Preferences page, specifically

    Java -> Compiler -> Compliance and Classfiles

    I noticed that I had a compliance level of 1.4 set. For the hell of it, I tried setting it to 1.3 and apply the changes. Eclipse rebuilt my project and the errors disappeared.

    What I don’t understand is why having a 1.4 compliance level would cause the error. This is especially baffling because I’ve had a 1.4 JDK installed the whole time.

    Any ideas? Could this be related to my PATH variable. I just noticed that I have an entry for the Oracle JRE in there. I’LL see if that’s the problem?

    By the way, I just wanted to say that you guys are awesome. Thank you sooo much for all your help.

    Best regards
    -Hector

    #202156 Reply

    Riyad Kalla
    Member

    Hector I am using 1.4 compliancy and don’t have any issues… I wonder if you have some screwy library or JDK issues on your machine….

    #202293 Reply

    hbomb
    Member

    Hi Riyad,

    You were exactly right. I looked at my PATH and noticed that the Oracle 9i client JRE was in there.
    I removed it and everything worked out.

    I can’t believe my problem stemmed from an entry in my path but Oh well, that how it goes.

    Thank you again for your help and patience.. . 8*)

    You have renewed my faith in ME.

    Thanks

    -Hector

    #202300 Reply

    barddzen
    Member

    I’m have the same issue. I have a web application (Struts-based) and it works fine, but I get JSP stop signs in the editor.

    #202310 Reply

    Riyad Kalla
    Member

    Hector I’m glad to hear everything is working and that your faith is renewed.

    barddzen, try rebuilding your entire project, sometimes the JSP pages get out of sync with the compiled ones and MyEclipse thinks there are errors, but there really aren’t (no entries in the task view). When this happens, a re-build will clear up the issue. You can right click on your project root, go down to MyEclipse and select “Rebuild JSPs” which is faster and should clear the problem.

Viewing 10 posts - 16 through 25 (of 25 total)
Reply To: JSP page cannot load taglib class [Closed]

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