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.

Proof that Spring Roo is simple

I did not get back to my simple application for a while and I was trying to remember what I did to get the code I have. It is simple when you look at the log.roo. All the commands needed to get the project where it is are in there:

project –topLevelPackage com.cinq.todo –projectName ToDo –java 6
persistence setup –provider HIBERNATE –database DERBY
entity –class ~.domain.Task –testAutomatically
field date –fieldName dueDate –type java.util.Date
field string –fieldName taskName
field number –fieldName priority –type java.lang.Integer
controller all –package ~.web

For a programmer that is in love with this cli type of environment I have to show more dedication to playing with the tool.