- This topic has 24 replies, 7 voices, and was last updated 18 years, 2 months ago by
swapnil1.
-
AuthorPosts
-
gannondaMemberI’ve just set up MyEclipse and imported an existing JSP application into it. Everything is compiling okay except a couple of JSPs which have this JSP tag
<jsp:include page=”some_file.jsp”></jsp:include>
The compile error is “cannot resolve symbol: symbol : method URLEncode (java.lang.String,java.lang.String)”.
As this URLEncoder method is new to Java 1.4 I’m wondering if the JSP validator is still using Java 1.3, and is there somewhere I can change that? The default J2EE library set is already set to 1.4 in my setup.
Any ideas?
August 27, 2004 at 11:17 am #213798
Riyad KallaMemberI can’t reproduce this locally, can you make sure you have Quickfix 3 installed? (its cummalative, no need to install 1 or 2): http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-3514.html, be sure to follow the instructions given.
August 27, 2004 at 11:26 am #213800
gannondaMemberI’ve installed the Quickfix – but the compile error is still happening.
August 27, 2004 at 11:38 am #213802
Riyad KallaMemberdid you follow the directions with using the -clean option?
Have you tried closing the project, restarting Eclipse and opening the project then rebuilding it? What version ID do you have displayed fro MyEclipse on the Window > Preferences > MYEclipse page?
August 27, 2004 at 11:54 am #213806
gannondaMemberI restarted Eclipse and rebuilt the project – the version of MyEclipse is 3.8.1+QF20040825 (Build ID: 200408201200-3.8.1+QF20040825) – but the compile error is still there.
August 27, 2004 at 1:02 pm #213817
Riyad KallaMemberWhat is your Eclipse Build ID? (Help > About)
I still cannot reproduce this problem using exactly the same names/code/etc.
August 31, 2004 at 3:59 am #214029
gannondaMemberMy Eclipse version & build is:
Version: 3.0.0
Build id: 200406251208I’ve also found another similar error when I include this tag on a page:
<%@ page isErrorPage=”true” %>
This gives the compilation error:
cannot resolve symbol: symbol : method getThrowable (javax.servlet.http.HttpServletRequest)The pages compile at runtime correctly with Tomcat.
August 31, 2004 at 9:59 am #214062
Riyad KallaMemberDo you by chance have the J2EE 1.3 Library Set attached in your project builkd path? You might consider removing it and adding the External JARs servlet-api.jar and jsp-api.jar from your <tomcat>\common\lib directory.
March 1, 2005 at 8:43 am #225955
avishekthakurMemberHi!
Well, I am facing the same issue and was wondering if there was a fix for this? I am using eclipse 3.0.1 and myEclipse 3.8.4. Using servlet-api.jar and jsp-api.jar from Tomcat 5.0.28 did not help.
Thanks
March 14, 2005 at 11:52 am #226630
LanceMemberHi all, I’m facing the same issues too. Is there a fix for this?
Running 3.8.4, Build 200501171200-3.8.4
Thanks,
March 14, 2005 at 12:37 pm #226632
Riyad KallaMemberFor the people having this problem, please list EVERYthing on your libraries tab under your Java Build Path settings so I can see if this is a classpath issue.
March 15, 2005 at 12:53 pm #226716
LanceMemberHere we go,
activation.jar
ant-1.5.3.jar
ant-optional-1.5.3.jar
c3p0-0.8.4.5.jar
cglib-full-2.0.1.jar
common.jar
commons-beanutils.jar
commons-collections-2.1.jar
commons-collections.jar
commons-dbcp-1.1.jar
commons-digester.jar
commons-lang-1.0.1.jar
commons-logging-1.0.3.jar
commons-logging.jar
commons-pool-1.1.jar
concurrent-1.3.2.jar
connector.jar
ct_admin_api.jar
ct_runtime_api.jar
dom.jar
dom4j-1.4.jar
ehcache-0.7.jar
hibernate2.jar
jaas.jar
jaxen-full.jar
jaxp-api.jar
jboss-cache.jar
boss-common.jar
jboss-jmx.jar
jboss-system.jar
jcs-1.0-dev.jar
jdbc2_0-stdext.jar
jgroups-2.2.1.jar
jsf-api.jar
jsf-impl.jar
jstl.jar
jstl_el.jar
jta.jar
junit-3.8.1.jar
log4j-1.2.8.jar
mail.jar
msbase.jar
mssqlserver.jar
msutil.jar
myfaces-components.jar
myfaces-jsf-api.jar
myfaces.jar
odmg-3.0.jar
oscache-2.0.jar
proxool-0.8.3.jar
sax.jar
saxpath.jar
standard.jar
swarmcache-1.0rc2.jar
xalan-2.4.0.jar
xalan.jar
xerces-2.4.0.jar
xercesImpl.jar
xml-apis.jarMarch 15, 2005 at 1:10 pm #226718
Riyad KallaMemberWhere are your servlet API and jsp API jars? If you are using our 1.4 Library set they should be party fo the library and named: javax.servlet.jar and javax.servlet.jsp.jar, if you are using Tomcat, they are servlet-api.jar and jsp-api.jar in the common/lib directory.
March 23, 2005 at 3:43 pm #227063
LanceMember@support-rkalla wrote:
Where are your servlet API and jsp API jars? If you are using our 1.4 Library set they should be party fo the library and named: javax.servlet.jar and javax.servlet.jsp.jar, if you are using Tomcat, they are servlet-api.jar and jsp-api.jar in the common/lib directory.
Plus the J2EE 1.4 Library Container & JRE System Library.
March 23, 2005 at 3:54 pm #227064
Riyad KallaMemberI don’t understand your comment in relation to my question…
-
AuthorPosts