Tomcat plugin error with 3.0 [message #165906] |
Sat, 26 June 2004 00:18  |
Eclipse User |
|
|
|
Hello all,
I just installed Eclipse 3.0 SDK for Mac OS X, and I can't get the
Sysdeo Tomcat plugin to work.
I'm using the plugin v3, since v2.2.1 didn't work at all. This one
appears to start up, but when I try to hit a JSP, I get this:
java.lang.NoClassDefFoundError:
org/apache/commons/el/ExpressionEvaluatorImpl at
org.apache.jasper.runtime.JspFactoryImpl.internalGetPageCont ext(JspFactor
yImpl.java:99) at
org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspF actoryImpl.ja
va:61) at
org.apache.jsp.WEB_002dINF.jsp.publicLayout_jsp._jspService( publicLayout_
jsp.java:59) at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:94) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
I tried adding the directory <tomcat home>/common/lib to the classpath
in the Tomcat JVM Settings window, since that contains
org.apache.commons.el, but it didn't make a difference. Also, Tomcat
works if I start it from outside of Eclipse--just not from within
Eclipse.
Any ideas? Thanks,
Jacob
|
|
|
Re: Tomcat plugin error with 3.0 [message #165949 is a reply to message #165906] |
Sat, 26 June 2004 13:47   |
Eclipse User |
|
|
|
Originally posted by: default.Bruno.com
Hi,
Since Tomcat 5.0.19 (perhaps before) new JAR files are required for JSP. Try to add this file <%tomcat_home%>/common/lib/commons-el.jar to tomcat classpath (Window->Preferences->Tomcat->JVM Settings)
This problem will be fix in next version of the plugin (this week)
Bruno
Jacob Weber a écrit :
> Hello all,
>
> I just installed Eclipse 3.0 SDK for Mac OS X, and I can't get the
> Sysdeo Tomcat plugin to work.
>
> I'm using the plugin v3, since v2.2.1 didn't work at all. This one
> appears to start up, but when I try to hit a JSP, I get this:
>
> java.lang.NoClassDefFoundError:
> org/apache/commons/el/ExpressionEvaluatorImpl at
> org.apache.jasper.runtime.JspFactoryImpl.internalGetPageCont ext(JspFactor
> yImpl.java:99) at
> org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspF actoryImpl.ja
> va:61) at
> org.apache.jsp.WEB_002dINF.jsp.publicLayout_jsp._jspService( publicLayout_
> jsp.java:59) at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:94) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>
> I tried adding the directory <tomcat home>/common/lib to the classpath
> in the Tomcat JVM Settings window, since that contains
> org.apache.commons.el, but it didn't make a difference. Also, Tomcat
> works if I start it from outside of Eclipse--just not from within
> Eclipse.
>
> Any ideas? Thanks,
> Jacob
|
|
|
Re: Tomcat plugin error with 3.0 [message #165956 is a reply to message #165949] |
Sat, 26 June 2004 14:30  |
Eclipse User |
|
|
|
In article <cbkcrh$klo$1@eclipse.org>, Bruno Leroux <default@Bruno.com>
wrote:
> Hi,
>
> Since Tomcat 5.0.19 (perhaps before) new JAR files are required for JSP. Try
> to add this file <%tomcat_home%>/common/lib/commons-el.jar to tomcat
> classpath (Window->Preferences->Tomcat->JVM Settings)
> This problem will be fix in next version of the plugin (this week)
>
> Bruno
Thanks! That worked.
Jacob
|
|
|
Powered by
FUDForum. Page generated in 0.14592 seconds