Alfred’s Computing Weblog

Alfred Java-cored Computing Weblog

Posts Tagged ‘maven

The absolute uri: cannot be resolved

with 3 comments

Hit this error while deploying webapps in Tomcat. “The absolute uri: cannot be resolved …”

I’m trying to include JSTL in JSP pages. I get the above error while starting up the webapp in Tomcat.

The jstl.jar is missing from the web deployment package (.war) file. Add in jstl.jar in /WEB-INF/lib/ is the most directive way to solve this problem. If maven is used in the project, we can include the xml code below and let maven do the JAR file searching and packing for us.


Thanks for godbiest’s update 🙂


Written by Alfred

December 22, 2008 at 17:04

Posted in Java, maven

Tagged with ,

Maven + Jetty = Quick Deploy in Developement

leave a comment »

In web application development, that is very common cycle for developer to making code chances, re-deploy application, and test again. The re-deploy process is a huge time-wasting process.

To solve it, I use Jetty (a lightweight servlet container) with Maven to re-compile and re-deploy the web application on the fly! It saves my time 😀

		<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
	<requestLog implementation="org.mortbay.jetty.NCSARequestLog">

To execute Jetty in Maven:
cd to your application path, $> mvn jetty:run

Written by Alfred

December 19, 2008 at 19:14

Posted in tomcat

Tagged with ,