Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3511

Spring Roo Installation with Java 8

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Ubuntu

      Description

      When I try to run the command "Roo" after installing the Spring Roo, I get the following exception thrown in console:

      ERROR: Bundle org.springframework.roo.support.osgi [70] Error starting file:/home/krishna/Downloads/javabeat/spring-roo/bundle/org.springframework.roo.support.osgi-1.2.5.RELEASE.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.support.osgi [70]: Unable to resolve 70.0: missing requirement [70.0] package; (&(package=org.springframework.roo.support.ant)(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.support.osgi [70]: Unable to resolve 70.0: missing requirement [70.0] package; (&(package=org.springframework.roo.support.ant)(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:744)
      ERROR: Bundle org.springframework.roo.uaa [71] Error starting file:/home/krishna/Downloads/javabeat/spring-roo/bundle/org.springframework.roo.uaa-1.2.5.RELEASE.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.uaa [71]: Unable to resolve 71.0: missing requirement [71.0] package; (&(package=org.springframework.roo.shell)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 64.0: missing requirement [64.0] package; (package=javax.xml.parsers)])
      org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.uaa [71]: Unable to resolve 71.0: missing requirement [71.0] package; (&(package=org.springframework.roo.shell)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 64.0: missing requirement [64.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:744)
      ERROR: Bundle org.springframework.roo.url.stream.jdk [73] Error starting file:/home/krishna/Downloads/javabeat/spring-roo/bundle/org.springframework.roo.url.stream.jdk-1.2.5.RELEASE.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.url.stream.jdk [73]: Unable to resolve 73.0: missing requirement [73.0] package; (&(package=org.springframework.roo.shell)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 64.0: missing requirement [64.0] package; (package=javax.xml.parsers)])
      org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.url.stream.jdk [73]: Unable to resolve 73.0: missing requirement [73.0] package; (&(package=org.springframework.roo.shell)(version>=1.2.0)(!(version>=2.0.0))) [caused by: Unable to resolve 64.0: missing requirement [64.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:744)
      ERROR: Bundle org.springframework.roo.wrapping.antlr4-runtime [74] Error starting file:/home/krishna/Downloads/javabeat/spring-roo/bundle/org.springframework.roo.wrapping.antlr4-runtime-4.0.0002.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.wrapping.antlr4-runtime [74]: Unable to resolve 74.0: missing requirement [74.0] package; (package=javax.imageio))
      org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.wrapping.antlr4-runtime [74]: Unable to resolve 74.0: missing requirement [74.0] package; (package=javax.imageio)
      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:744)
      ERROR: Bundle org.springframework.roo.wrapping.bcprov-jdk15 [76] Error starting file:/home/krishna/Downloads/javabeat/spring-roo/bundle/org.springframework.roo.wrapping.bcprov-jdk15-1.45.0.0010.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.wrapping.bcprov-jdk15 [76]: Unable to resolve 76.0: missing requirement [76.0] package; (package=javax.crypto))
      org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.wrapping.bcprov-jdk15 [76]: Unable to resolve 76.0: missing requirement [76.0] package; (package=javax.crypto)
      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:744)
      ERROR: Bundle org.springframework.uaa.client [81] Error starting file:/home/krishna/Downloads/javabeat/spring-roo/bundle/org.springframework.uaa.client-1.0.2.RELEASE.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.uaa.client [81]: Unable to resolve 81.0: missing requirement [81.0] package; (package=javax.xml.parsers))
      org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.uaa.client [81]: Unable to resolve 81.0: missing requirement [81.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:744)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                krishnas Krishna Srinivasan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: