Error when running Spring Roo

2

I'm trying to install and run Spring Roo. I downloaded it, unzipped it in the opt folder, gave the permissions on the folder, and created the links.

But when you run the command "roo" a big error appears and it locks the program having to close the terminal.

The following is the error:

2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 69.0: missing    requirement [69.0] package; (package=javax.xml.namespace)]]]]]]] at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3564)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1797)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266) at java.lang.Thread.run(Thread.java:745)
ERROR: Bundle org.springframework.roo.addon.web.mvc.controller [49] Error  rable)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 19.0: missing requirement [19.0] package; (&(package=org.springframework.roo.classpath)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 53.0: missing requirement [53.0] package; (&(package=org.springframework.roo.file.monitor)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 56.0: missing requirement [56.0] package; (&(package=org.springframework.roo.support.util)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 69.0: missing requirement [69.0] package; (package=javax.xml.namespace)]]]]]])
org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.addon.web.mvc.controller [49]: Unable to resolve 49.0: missing requirement [49.0] package; (&(package=org.springframework.roo.addon.finder)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 25.0: missing requirement [25.0] package; (&(package=org.springframework.roo.addon.jpa.activerecord)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 30.0: missing requirement [30.0] package; (&(package=org.springframework.roo.addon.configurable)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 19.0: missing requirement [19.0] package; (&(package=org.springframework.roo.classpath)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 53.0: missing requirement [53.0] package; (&(package=org.springframework.roo.file.monitor)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 56.0: missing requirement [56.0] package; (&(package=org.springframework.roo.support.util)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 69.0: missing requirement [69.0] package; (package=javax.xml.namespace)]]]]]]
    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3564)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1797)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
    at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Thread.java:745)
ERROR: Bundle org.springframework.roo.addon.web.mvc.embedded [50] Error starting file:/opt/spring-roo-1.2.5.RELEASE/bundle/org.springframework.roo.addon.web.mvc.embedded-1.2.5.RELEASE.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.addon.web.mvc.embedded [50]: Unable to resolve 50.0: missing requirement [50.0] package; (package=javax.xml.parsers))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.addon.web.mvc.embedded [50]: Unable to resolve 50.0: missing requirement [50.0] package; (package=javax.xml.parsers)
    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3564)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1797)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
    at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Thread.java:745)
ERROR: Bundle org.springframework.roo.addon.web.mvc.jsp [51] Error starting file:/opt/spring-roo-1.2.5.RELEASE/bundle/org.springframework.roo.addon.web.mvc.jsp-1.2.5.RELEASE.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.addon.web.mvc.jsp [51]: Unable to resolve 51.0: missing requirement [51.0] package; (package=javax.xml.parsers))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.addon.web.mvc.jsp [51]: Unable to resolve 51.0: missing requirement [51.0] package; (package=javax.xml.parsers)
    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3564)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1797)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
    at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Thread.java:745)
ERROR: Bundle org.springframework.roo.addon.web.selenium [52] Error starting file:/opt/spring-roo-1.2.5.RELEASE/bundle/org.springframework.roo.addon.web.selenium-1.2.5.RELEASE.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.addon.web.selenium [52]: Unable to resolve 52.0: missing requirement [52.0] package; (&(package=org.springframework.roo.addon.web.mvc.controller.details)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 49.0: missing requirement [49.0] package; (&(package=org.springframework.roo.addon.finder)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 25.0: missing requirement [25.0] package; (&(package=org.springframework.roo.addon.jpa.activerecord)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 30.0: missing requirement [30.0] package; (&(package=org.springframework.roo.addon.configurable)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 19.0: missing requirement [19.0] package; (&(package=org.springframework.roo.classpath)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 53.0: missing requirement [53.0] package; (&(package=org.springframework.roo.file.monitor)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 56.0: missing requirement [56.0] package; (&(package=org.springframework.roo.support.util)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 69.0: missing requirement [69.0] package; (package=javax.xml.namespace)]]]]]]])
org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.addon.web.selenium [52]: Unable to resolve 52.0: missing requirement [52.0] package; (&(package=org.springframework.roo.addon.web.mvc.controller.details)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 49.0: missing requirement [49.0] package; (&(package=org.springframework.roo.addon.finder)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 25.0: missing requirement [25.0] package; (&(package=org.springframework.roo.addon.jpa.activerecord)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 30.0: missing requirement [30.0] package; (&(package=org.springframework.roo.addon.configurable)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 19.0: missing requirement [19.0] package; (&(package=org.springframework.roo.classpath)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 53.0: missing requirement [53.0] package; (&(package=org.springframework.roo.file.monitor)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 56.0: missing requirement [56.0] package; (&(package=org.springframework.roo.support.util)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 69.0: missing requirement [69.0] package; (package=javax.xml.namespace)]]]]]]]
    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3564)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1797)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
    at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Thread.java:745)

I put only a small part because the code is too large. He says something about missing requirements. What would it be?

Java and Maven are installed correctly. I use Linux Mint 17 64-bit cinnamon.

Thank you in advance.

    
asked by anonymous 23.08.2014 / 21:01

1 answer

1

By the log you probably ran into this Bug: [ROO-3505] . For the time being Spring Roo is incompatible with Java 8, install a version of JDK 7 and make sure you are running Spring Roo with it.

    
24.08.2014 / 01:32