jsp compile issue when running in tomcat6 [message #97558] |
Mon, 17 September 2007 19:28  |
Eclipse User |
|
|
|
Originally posted by: dkrebs.tibco.com
Hi,
I'm using the core server osgi equinox framework but handling my jsp pages
within my own framework. I can get the jsp pages to load and compile
without any problems in my development environment but when trying to run
my osgi app inside tomcat6 I'm getting the following error. Seems like a
classpath issue but I'm a little hazy on how to track this down, trying to
figure out what has changed in the two environments, I have jasper wrapped
in a plugin, should I not include that when deploying to a servlet
container? Also if anyone could offer some high level concepts of what to
look through to troubleshoot something like this it would be much
appreciated. - Duncan
java.lang.NoClassDefFoundError:
org/apache/commons/el/ExpressionEvaluatorImpl
at org.apache.jasper.compiler.JspUtil.<clinit>(JspUtil.java:61)
at
org.apache.jasper.JspCompilationContext.getDerivedPackageNam e(JspCompilationContext.java:414)
at
org.apache.jasper.JspCompilationContext.getServletPackageNam e(JspCompilationContext.java:403)
|
|
|
Re: jsp compile issue when running in tomcat6 [message #97665 is a reply to message #97558] |
Wed, 19 September 2007 15:55  |
Eclipse User |
|
|
|
Hi Duncan,
Have you looked at org.eclipse.equinox.jsp.jasper ?
The JSPServlet should be able to do what you're asking for and if not should
help considerably when trying to sort out setting up the various class
loaders.
This is based around the Jasper 2 engine in 5.5 however I'm guessing a port
to what's in TC 6 should be straight-forward.
HTH
-Simon
"Duncan Krebs" <dkrebs@tibco.com> wrote in message
news:d571c621113a35265837a84b5d6b2ad3$1@www.eclipse.org...
> Hi, I'm using the core server osgi equinox framework but handling my jsp
> pages within my own framework. I can get the jsp pages to load and compile
> without any problems in my development environment but when trying to run
> my osgi app inside tomcat6 I'm getting the following error. Seems like a
> classpath issue but I'm a little hazy on how to track this down, trying to
> figure out what has changed in the two environments, I have jasper wrapped
> in a plugin, should I not include that when deploying to a servlet
> container? Also if anyone could offer some high level concepts of what to
> look through to troubleshoot something like this it would be much
> appreciated. - Duncan
>
> java.lang.NoClassDefFoundError:
> org/apache/commons/el/ExpressionEvaluatorImpl
> at org.apache.jasper.compiler.JspUtil.<clinit>(JspUtil.java:61)
> at
> org.apache.jasper.JspCompilationContext.getDerivedPackageNam e(JspCompilationContext.java:414)
> at
> org.apache.jasper.JspCompilationContext.getServletPackageNam e(JspCompilationContext.java:403)
>
|
|
|
Powered by
FUDForum. Page generated in 0.03481 seconds