Spring Roo bug for beginners

I did not have this issue on my macbook air but on the iMac I faced a problem when trying to build and deploy my demo app.

I would get errors like this:

[WARNING] The POM for javax.servlet:jstl:jar:1.2 is missing, no dependency information available

Took a few Google searches to find an article that recommended to replace this section:

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>

With this:

<dependency>
<groupId>javax.servlet.jsp.jstl</groupId>
<artifactId>jstl-api</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>org.glassfish.web</groupId>
<artifactId>jstl-impl</artifactId>
<version>1.2</version>
</dependency>

As soon as I saved the modified pom.xml it downloaded the dependencies and the new “perform package” produced a working app on the tc server.

Next: more advanced demo app and then something of my own.

Advertisements

Published by

m5c

Java developper that loves photography and good coffee

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s