Error running Spring Roo

Asked

Viewed 72 times

2

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

But when running the command "Roo" a big error appears and crashes the program having to close the terminal.

Follow 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 only put a small part because the code is too big. It says something about Missing Reskirts (lack of requirements). What would be?

Java and Maven are installed correctly. Linux Mint 17 Usage 64-bit Linux.

Thank you in advance.

1 answer

1


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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.