Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » classpath error with embedded tomcat
classpath error with embedded tomcat [message #212822] Wed, 23 April 2008 04:02 Go to next message
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 14:45 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2235
Registered: July 2009
Senior Member
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 WTP, IBM
Previous Topic:Help with jar files not getting exported in WAR file
Next Topic:How to set Axis2 runtime location programmatically?
Goto Forum:
  


Current Time: Fri Jul 25 05:15:01 EDT 2014

Powered by FUDForum. Page generated in 0.02498 seconds