Note that there are some explanatory texts on larger screens.

plurals
  1. POJSP Googlemaps taglib not found, where have I gone wrong?
    text
    copied!<p>I'm trying to add Google Maps onto my JSPs by using the Googlemaps taglib.</p> <p>I've added this into my maven pom</p> <pre><code> &lt;dependency&gt; &lt;groupId&gt;com.lamatek&lt;/groupId&gt; &lt;artifactId&gt;googlemaps&lt;/artifactId&gt; &lt;version&gt;0.98c&lt;/version&gt; &lt;scope&gt;provided&lt;&gt;/scope &lt;/dependency&gt; </code></pre> <p>This then included the <code>googlemaps-0.98c</code> library under my project libraries in NetBeans, I right clicked and selected <code>Manually install artifact</code> and located the googlemaps.jar file I had downloaded.</p> <p>I've then added this into my taglibs file</p> <pre><code>&lt;%@taglib prefix="googlemaps" uri="/WEB-INF/googlemaps" %&gt; </code></pre> <p>And have then included this where I actually want to show a map on my jsp</p> <pre><code> &lt;googlemaps:map id="map" width="250" height="300" version="2" type="STREET" zoom="12"&gt; &lt;googlemaps:key domain="localhost" key="xxxx"/&gt; &lt;googlemaps:point id="point1" address="74 Connors Lane" city="Elkton" state="MD" zipcode="21921" country="US"/&gt; &lt;googlemaps:marker id="marker1" point="point1"/&gt; &lt;/googlemaps:map&gt; </code></pre> <p>But when I load up my application, I get the following error.</p> <pre><code>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 </code></pre> <p>Have I missed something simple? I'm unable to spot what I've done wrong so far..</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload