Creating a project with Spring ROO in STS:

roo> project --topLevelPackage z --projectName z --java 7 --packaging WAR
Created ROOT\pom.xml
Created ROOT\src\main\resources
Created ROOT\src\main\resources\log4j.properties
Undo create ROOT\src\main\resources\log4j.properties
Undo create ROOT\src\main\resources
Undo create ROOT\pom.xml

NullPointerException at org.springframework.roo.project.packaging.WarPackaging.createOtherArtifacts(WarPackaging.java:41)

I have reinstalled STS, and Spring Roo plugin, and changed versions but I still getting the same error...

2

There are 2 answers

6
jcgarcia On BEST ANSWER

If you generate project using the following, generates a WAR project and doesn't appear error:

project --topLevelPackage z --projectName z --java 7

Could you check it?

Could you create a new ticket on Spring Roo Jira with this problem?

http://jira.spring.io/browse/ROO

Best Regards,

0
jcgarcia On

WarPackaging NullPointerException error was solved and will be available on 1.3.1.RC2

https://jira.spring.io/browse/ROO-3566