Win a copy of Head First Go this week in the Go forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved  RSS feed

 
Ranch Hand
Posts: 89
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi people,
I'm getting this error in my jsp. I saw this same error in an contact here, I do that the contact says  but the  error still same. I downloaded the jst.jar and I copyed in WEB-INF.
Below my web.xml:

My pom.xml:


Thanks in advance.
 
Marshal
Posts: 67243
170
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jst.jar? jst is not jstl. Did you grab the wrong jar file?
 
Cezar Apulchro
Ranch Hand
Posts: 89
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, is jstl.jar.
 
Saloon Keeper
Posts: 20511
115
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you really sure that jstl should be a dependency in your POM?

JSTL is part of the J2EE/JEE server, and should not be included in your WAR.

If you must include it, try <scope>provided</scope> in the dependency. That tells Maven that the dependency can be resolved at run-time rather than by having to include the jar in the WAR it builds.
 
Cezar Apulchro
Ranch Hand
Posts: 89
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, problem solved.
This is my last pom.xml:

Thanks a lot.
 
Onion rings are vegetable donuts. Taste this tiny ad:
Become a Java guru with IntelliJ IDEA
https://www.jetbrains.com/idea/
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!