Beginner Help: Europa and Preview Server [message #196053] |
Wed, 11 July 2007 10:57  |
Eclipse User |
|
|
|
Originally posted by: sgilbert.occ.cccd.edu
Hi,
From reading the Europa release notes I got the impression that I could
use the built-in embedded Jetty Preview server to develop and view both
JSP and servlets (without installing an extra application server such as
Tomcat). If that's not possible, could someone let me know.
I'm trying to do the simplest thing that could possibly work, (Hello
World) and not having a lot of success. Here's what I've done:
1. Downloaded Europa for J2EE developers
2. Created a dynamic Web project
3. Selected J2EE Preview as the runtime with default configuration
4. Dynamic Web Module and Java 6 selected as Facets
5. Add a new JSP file (html markup) named index.jsp
6. When I run the JSP file, I get this error:
java.lang.NoClassDefFoundError:
org/apache/commons/el/ExpressionEvaluatorImpl
I can find this class inside the plugins directory in the appropriate jar
file, which makes me think that this is something I'm doing wrong in the
configuration.
In addition, I tried adding a "Hello World" servlet and the Preview server
was unable to find the class file.
Any help would be greatly appreciated.
--Steve
|
|
|
|
|
|
Re: Beginner Help: Europa and Preview Server [message #196336 is a reply to message #196293] |
Thu, 12 July 2007 10:02  |
Eclipse User |
|
|
|
Originally posted by: sgilbert.occ.cccd.edu
Hi,
Thanks, that seems to work for me.
This looks like bug 181081 which is marked as closed. That should at least
partly fix the problem. I went and looked at the sources using the CVS
browser and it looks like the patch described there hasn't actually been
applied yet. I don't know how long it takes for those kinds of changes to
filter down, and I don't know if the change made there (adding
org.apache.jaspar) to the classpath will fix the JSP problem. It still
seems like the org.apache.commons.el will be missing.
I haven't gotten as far as the JNDI stuff, so I really am not of any help
there.
Thanks again.
--Steve
|
|
|
Powered by
FUDForum. Page generated in 0.12823 seconds