Results 1 to 8 of 8

Thread: Error staring the Roo shell

  1. #1
    Join Date
    Aug 2011
    Posts
    3

    Default Error staring the Roo shell

    I have $ROO_HOME\bin on my window Path.

    This what I get when I type Roo on the cmd prompt

    ERROR: Error starting file:/I:/spring-roo-1.1.5.RELEASE/bundle/org.springframework.roo.addon.backup-1.1.5.RELEASE.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.addon.backup [7]: Unable to resolve 7.0: missing requirement [7.0] package; (&(package=org.springframework.roo.file.monitor.ev ent)(version>=1.1.0)(!(version>=2.0.0))) [caused by: Unable to resolve 39.0: missing requirement [39.0] package; (&(package=org.springframework.roo.support.ant)(ve rsion>=1.1.0)(!(version>=2.0.0))) [caused by: Unable to resolve 52.0: missing requirement [52.0] package; (package=javax.xml.namespace)]])
    ERROR: Error starting file:/I:/spring-roo-1.1.5.RELEASE/bundle/org.springframework.roo.addon.configurable-1.1.5.RELEASE.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.addon.configurable [8]: Unable to resolve 8.0: missing requirement [8.0] package; (&(package=org.springframework.roo.classpath)(vers ion>=1.1.0)(!(version>=2.0.0))) [caused by: Unable to resolve 36.0: missing requirement [36.0] package; (&(package=org.springframework.roo.file.monitor)(v ersion>=1.1.0)(!(version>=2.0.0))) [caused by: Unable to resolve 39.0: missing requirement [39.0] package; (&(package=org.springframework.roo.support.ant)(ve rsion>=1.1.0)(!(version>=2.0.0))) [caused by: Unable to resolve 52.0: missing requirement [52.0] package; (package=javax.xml.namespace)]]])
    ERROR: Error starting file:/I:/spring-roo-1.1.5.RELEASE/bundle/org.springframework.roo.addon.creator-1.1.5.RELEASE.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.addon.creator [9]: Unable to resolve 9.0: missing requirement [9.0] package; (package=javax.xml.parsers))
    ERROR: Error starting file:/I:/spring-roo-1.1.5.RELEASE/bundle/org.springframework.roo.addon.dbre-1.1.5.RELEASE.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.addon.dbre [10]: Unable to resolve 10.0: missing requirement [10.0] package; (package=javax.xml.parsers))
    The error msg is being shortened to bypass post limit.

    Any ideas ??

    Thanks in advance

  2. #2
    Join Date
    Aug 2011
    Posts
    3

    Default

    Ok, I figured out why.

    Your java is using JRE, NOT JDK

    Uninstall the Java, but not the Java SDK from your system.

  3. #3
    Join Date
    Aug 2011
    Posts
    1

    Default

    Hello, I have one additional note to this issue.

    Removing jre is not a wise solution, because another application may require jre to run properly. This was my case, as I am using Arch Linux and jdk, scala and vuze depends on jre package (therefore I cannot uninstall jre).
    I have faced a similar issue and found very simple solution. According to this bug report the problem can be a new version of java (oracle jvm7), which is not supported by Apache Felix (v.3.0.7). I downloaded the newest version (3.2.2) and replaced the old one in ROO_HOME/bin folder. It works for me, so I hope it will help others who encounter this issue.

  4. #4
    Join Date
    Oct 2011
    Posts
    1

    Default

    thank you!
    This solution work to me too

    Spring-roo version 1.1.5

    i just download Felix Framework Distribution 4.0.1,
    copy the felix.jar from FELIX_DIR\bin\ to spring-roo-1.1.5.RELEASE\bin

  5. #5
    Join Date
    Apr 2011
    Posts
    12

    Default

    did you remove the previous jar, or left it there?

  6. #6
    Join Date
    Dec 2011
    Posts
    8

    Default

    I was having the same issue. Thanks for this info - this fix worked for me as well.

    roo version 1.1.5
    sts 2.8.1
    maven 3.0.3

    Here is a link to the felix downloads page for others who may be experiencing the same problem...




  7. #7
    Join Date
    Dec 2011
    Location
    Eden Prairie, MN
    Posts
    14

    Default

    OK, I am late to the party, but this saved my bacon too. Thank you.

  8. #8
    Join Date
    Dec 2011
    Posts
    7

    Default

    Quote Originally Posted by qin View Post
    I have $ROO_HOME\bin on my window Path.

    This what I get when I type Roo on the cmd prompt



    The error msg is being shortened to bypass post limit.

    Any ideas ??

    Thanks in advance
    Thank you have understood the error

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •