Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » classpath error with embedded tomcat
classpath error with embedded tomcat [message #212822] Wed, 23 April 2008 08:02 Go to next message
Eclipse UserFriend
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 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
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 Web Tools Platform
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: Thu Apr 18 06:39:35 GMT 2024

Powered by FUDForum. Page generated in 0.01663 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top