Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The absolute uri problem

 
John Lincoln
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a jsp with code


When i run, i get the following error
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

I have standard.jar and jstl.jar in the WEB-INF/lib

what can be the problem please help

thanks
[ April 03, 2007: Message edited by: John Lincoln ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64833
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
web-inf or WEB-INF?

If the former, it needs to be uppercase. If the latter, please read this.
 
John Lincoln
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for the response, it is capital "WEB-INF". I have read your link and will take care from next post.

Can you please provide few pointers how to get over the problem i am facing.

Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64833
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should also go back and fix your first post so others don't ask the same question.

Which version of the JSTL jar's did you place in WEB-INF/lib? The URI you specified is for JSTL 1.1. It's different for JSTL 1.0.
 
John Lincoln
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear,

I have edited the post.

I copied the jstl 1.1 jars (jstl.jar, standard.jar) and tried and got the same error

I changed the directive to fit 1.0 version, copied the 1.0 jstl and standard.jar and got the same error, that the absolute uri cannot be resolved

Is there something else ican try...

Please Help

thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64833
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure that the web app structure is sound? It should be as simple as dropping in the jars.

What version of Tomcat?
 
John Lincoln
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Yes, i am adding the jars to the lib directory. I am using Tomcat 5.5

Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64833
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you absolutely, 100% sure that you are using the JSTL 1.1 jar files? Open the jars and look to make sure that the URI in the TLD files match the JSTL 1.1 URIs.
 
John Lincoln
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

For 1.1


For 1.0 core


[/code]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic