facebook

JSP Compile error "method URLEncode"

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

    Lance
    Member

    @support-rkalla wrote:

    I don’t understand your comment in relation to my question…

    Those two entries are part of the Java Build Path. Do you need a list of the jar files included in those entries?

    #227572 Reply

    Riyad Kalla
    Member

    This got lost in my email I’m sorry for the delay, I have tried on multiple setups locally to reproduce this and cannot. I am using Eclipse 3.0.2 SDK (tried with 3.0.1 and 3.0.0) and MyEclipse 3.8.4. I am on Windows XP Pro with JDK 1.4.2_04 installed and using the javac.exe from the install on my PATH (used to compile the JSP pages).

    Do you see any differences in our setup that may account for the issue?

    #228021 Reply

    Lance
    Member

    I’m still having this issue. I did a new install, still getting the error (eclipse 3.0.2, latest myeclipse). Any other suggestions?

    #228045 Reply

    Riyad Kalla
    Member

    did you try and entirely new (not upgraded) JDK install? I am convinced that there is some custom library somewhere (god only knows)… do you have a system wide CLASSPATH env variable setup? Maybe that is the problem…

    #228172 Reply

    Lance
    Member

    I don’t have a classpath env variable defidned on my system. I’m using an existing JDK. Now, I didn’t have this problem prior to updating to the latest MyEclipse. I can try setting a eclipse with an old version of myeclipse. Let me know if you want me to do that?

    #228173 Reply

    Riyad Kalla
    Member

    I want to try a sanity check install. Please download and install:

    Eclipse 3.0.2 SDK: http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.0.2-200503110845/eclipse-SDK-3.0.2-win32.zip
    MyEclipse 3.8.4: http://www.myeclipseide.com/ContentExpress-display-ceid-10.html

    And reinstall them to a temporary location and then open your project wiht that fresh install, did it work?

    NOTE: This is install is intended to be done in parallel to your production install.

    #242353 Reply

    dtashima
    Member

    I am seeing the same behavior… I thought that it might be that myeclipse was trying to validate w/ the tomcat jasper runtime library (Since that’s where URLEncode(String,String) lives), so I added that in as well, but to no avail.

    The only thing I can think that would cause it would be that a different jasper runtime lib was getting loaded before the one that has URLEncode…

    MyEclipse looks like it’s really fantastic, but I haven’t been able to get any value out of it from my existing project…. I just get red X’s all over the place, with very little/poor indication as to what is really wrong.

    Perhaps more documentation around how to incorporate an existing project into it would be useful… or even better, a good troubleshooting/FAQ document. I don’t have enough time in the allotted 30 days to delve into understanding the mechanics of the thing to get it to work – I’d rather just have it work the first time, or at the very least have a good place to look up the answer.

    Dave

    #242354 Reply

    Riyad Kalla
    Member

    Dave,
    We are sorry you are having trouble. If you would have the patience to start a new thread, and outline all the details (versions and build IDs) of your setup, as well as outline your project layout, I would be more than happy to see if I can help. Also don’t forget to say exactly some of the problems occuring, a lot of times a simple change or misconfiguration can cause 100s of errors.

    #246002 Reply

    Robert Hible
    Member

    This is how I fixed this issue in my project.

    My issue was having a J2EE.jar and servlet.jar in my class path in ADDITION to the ‘J2EE 1.3 Library Container’.

    Look to see if your project libraries include J2EE or the serlvet.jar in addition to the ‘J2EE 1.3 Library Container’. If you do, then attempt to remove the J2EE and servlet jars but leave the ‘J2EE 1.3 Library Container’. The project should still build because the required jars for J2EE are all included in the ‘J2EE 1.3 Libarary Container’.

    Once I removed the J2EE.jar and servlet.jar and KEPT the ‘J2EE 1.3 Library Container’, the JSP compile error went away.

    I hope that helps someone in the future.

    MyEclipse 4.0.3 – EnterpriseWorkbenchInstaller_4.0.3GA_E3.1.exe
    Windows XP
    j2sdk1.4.2_08
    Tomcat 5.0.X

    #268878 Reply

    swapnil1
    Member

    Hi All ,
    I am also facing the same problem as;

    <%@ page isErrorPage=”true” %>

    This gives the compilation error:
    cannot resolve symbol: symbol : method getThrowable (javax.servlet.http.HttpServletRequest)

    How can i fix this one?
    Please Help Me.

Viewing 10 posts - 16 through 25 (of 25 total)
Reply To: JSP Compile error "method URLEncode"

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