jstl taglib not found, where have I gone wrong?
Posted
by James.Elsey
on Stack Overflow
See other posts from Stack Overflow
or by James.Elsey
Published on 2010-03-30T20:14:41Z
Indexed on
2010/03/30
22:13 UTC
Read the original article
Hit count: 674
I'm trying to add Google Maps onto my JSPs by using the googlemaps jstl taglib.
I've added this into my maven pom
<dependency>
<groupId>com.lamatek</groupId>
<artifactId>googlemaps</artifactId>
<version>0.98c</version>
<scope>provided<>/scope
</dependency>
This then included the googlemaps-0.98c
library under my project libraries in NetBeans, I right clicked and selected Manually install artifact
and located the googlemaps.jar file I had downloaded.
I've then added this into my taglibs file
<%@taglib prefix="googlemaps" uri="/WEB-INF/googlemaps" %>
And have then included this where I actually want to show a map on my jsp
<googlemaps:map id="map" width="250" height="300" version="2" type="STREET"
zoom="12">
<googlemaps:key domain="localhost" key="xxxx"/>
<googlemaps:point id="point1" address="74 Connors Lane" city="Elkton"
state="MD" zipcode="21921" country="US"/>
<googlemaps:marker id="marker1" point="point1"/>
</googlemaps:map>
But when I load up my application, I get the following error.
org.apache.jasper.JasperException: /jsp/dashboard.jsp(1,1) /jsp/common/taglibs.jsp(6,56) PWC6117: File "/WEB-INF/googlemaps" not found
root cause
org.apache.jasper.JasperException: /jsp/common/taglibs.jsp(6,56) PWC6117: File "/WEB-INF/googlemaps" not found
Have I missed something simple? I'm unable to spot what I've done wrong so far..
Thanks
© Stack Overflow or respective owner