classpath error with embedded tomcat [message #212822] |
Wed, 23 April 2008 08:02 |
Eclipse User |
|
|
|
Originally posted by: yair.sundaysky.com
Hi all
First I am sorry for posting my question here - I've tried looking for an
answer all over the net and in Apache site, but couldn't find any answer.
I suspect it has something to do with the way eclipse runs my application,
so I am trying here:
I am running an embedded tomcat server in my application. I managed to
make it work with a simple JSP. But - if I add JSTL to my JSP, I get:
The absolute uri: http://java.sun.com/jsp/jstl/xml cannot be resolved in
either web.xml or the jar files deployed with this application
I've tried adding the jstl.jar and standard.jar to my <catalina_home>/lib
(the path I give the embedded tomcat) but nothing. However, if I add these
jars to <tomcat installation dir>/lib, it works (although the tomcat
installation dir is supposed to be unknown to my embedded class).
I've tried printing the env, and the system properties, and there is
nothing there pointing to the tomcat dir.
Can someone point me to where am I miss-configuring my embedded tomcat?
Could it be that running through eclipse (using server runtime) is messing
my classpath?
Thanks
Yair
|
|
|
Re: classpath error with embedded tomcat [message #212910 is a reply to message #212822] |
Thu, 24 April 2008 18:45 |
|
yair wrote:
> I am running an embedded tomcat server in my application. I managed to
> make it work with a simple JSP. But - if I add JSTL to my JSP, I get:
>
> The absolute uri: http://java.sun.com/jsp/jstl/xml cannot be resolved in
> either web.xml or the jar files deployed with this application
You may be using the wrong URI--it is different depending on the
JSTL version.
--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.01663 seconds