org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.classpath.javaparser [37]: package; (&(package=org.springframework.roo.classpath.details.annotations)(version>=1.1.0)(!(version>=2.0.0)))

SpringSource Issue Tracker | Steffen Pingel | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Steps: 1. Open Roo shell on two projects at the same time When the Roo runtime does not have an sts-cache directory both instances will try to create it concurrently. ERROR: org.apache.felix.framework.cache.BundleArchive: Unable to record state - java.io.FileNotFoundException: .../sts-cache/bundle60/bundle.state (No such file or directory) java.io.FileNotFoundException: .../sts-cache/bundle60/bundle.state (No such file or directory)ERROR: Error writing persistent state to bundle archive. (java.io.FileNotFoundException: .../sts-cache/bundle60/bundle.state (No such file or directory)) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at org.apache.felix.framework.util.SecureAction.getFileOutputStream(SecureAction.java:461) at org.apache.felix.framework.cache.BundleArchive.setPersistentState(BundleArchive.java:361) at org.apache.felix.framework.BundleImpl.setPersistentStateActive(BundleImpl.java:756) at org.apache.felix.framework.Felix.startBundle(Felix.java:1613) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892) at org.springframework.roo.shell.eclipse.AutoProcessor.processAutoDeploy(AutoProcessor.java:266) at org.springframework.roo.shell.eclipse.AutoProcessor.process(AutoProcessor.java:89) at org.springframework.roo.shell.eclipse.Main.start(Main.java:247) at org.springframework.roo.shell.eclipse.Bootstrap.start(Bootstrap.java:158) at com.springsource.sts.roo.ui.internal.RooShellTab$8.run(RooShellTab.java:411) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.classpath.javaparser [37]: package; (&(package=org.springframework.roo.classpath.details.annotations)(version>=1.1.0)(!(version>=2.0.0))) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3295) at org.apache.felix.framework.Felix.startBundle(Felix.java:1653) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1124) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) at java.lang.Thread.run(Thread.java:619)

    SpringSource Issue Tracker | 6 years ago | Steffen Pingel
    org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.classpath.javaparser [37]: package; (&(package=org.springframework.roo.classpath.details.annotations)(version>=1.1.0)(!(version>=2.0.0)))
  2. 0

    Steps: 1. Open Roo shell on two projects at the same time When the Roo runtime does not have an sts-cache directory both instances will try to create it concurrently. ERROR: org.apache.felix.framework.cache.BundleArchive: Unable to record state - java.io.FileNotFoundException: .../sts-cache/bundle60/bundle.state (No such file or directory) java.io.FileNotFoundException: .../sts-cache/bundle60/bundle.state (No such file or directory)ERROR: Error writing persistent state to bundle archive. (java.io.FileNotFoundException: .../sts-cache/bundle60/bundle.state (No such file or directory)) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at org.apache.felix.framework.util.SecureAction.getFileOutputStream(SecureAction.java:461) at org.apache.felix.framework.cache.BundleArchive.setPersistentState(BundleArchive.java:361) at org.apache.felix.framework.BundleImpl.setPersistentStateActive(BundleImpl.java:756) at org.apache.felix.framework.Felix.startBundle(Felix.java:1613) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892) at org.springframework.roo.shell.eclipse.AutoProcessor.processAutoDeploy(AutoProcessor.java:266) at org.springframework.roo.shell.eclipse.AutoProcessor.process(AutoProcessor.java:89) at org.springframework.roo.shell.eclipse.Main.start(Main.java:247) at org.springframework.roo.shell.eclipse.Bootstrap.start(Bootstrap.java:158) at com.springsource.sts.roo.ui.internal.RooShellTab$8.run(RooShellTab.java:411) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.classpath.javaparser [37]: package; (&(package=org.springframework.roo.classpath.details.annotations)(version>=1.1.0)(!(version>=2.0.0))) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3295) at org.apache.felix.framework.Felix.startBundle(Felix.java:1653) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1124) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) at java.lang.Thread.run(Thread.java:619)

    SpringSource Issue Tracker | 6 years ago | Steffen Pingel
    org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.classpath.javaparser [37]: package; (&(package=org.springframework.roo.classpath.details.annotations)(version>=1.1.0)(!(version>=2.0.0)))
  3. 0

    Bug 186371 – [69cat] org.osgi.framework.BundleException: Unresolved constraint in bundle

    netbeans.org | 1 year ago
    org.osgi.framework.BundleException: Unresolved constraint in bundle module3 [2]: module; (&(bundle-symbolic-name=org.apache.felix.prefs)(bundle-version>=1.0.4)(!(bundle-version>=100.0.0)))
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Resolve dependencies error in Sling OSGi container

    Stack Overflow | 3 years ago | Barcelona
    org.osgi.framework.BundleException: Unresolved constraint in bundle net.jasonday.examples.sling.spring.mvc [79]: Unable to resolve 79.0: missing requirement [79 .0] package; (&amp;(package=javax.annotation)(version&gt;=1.0.0)(!(version&gt;=2.0.0)))
  6. 0

    camel-example-cxf Not Deployed in ServiceMix 4.4.2

    Stack Overflow | 4 years ago | abhi
    org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.camel.camel-example-cxf [43]: Unable to resolve 43.0: missing requirement [43.0] package; (&amp;(package=org.apache.activemq.broker)(version&gt;=5.7.0)(!(version&gt;=6.0.0)))

  1. andyglick 2 times, last 2 weeks ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.osgi.framework.BundleException

    Unresolved constraint in bundle org.springframework.roo.classpath.javaparser [37]: package; (&(package=org.springframework.roo.classpath.details.annotations)(version>=1.1.0)(!(version>=2.0.0)))

    at org.apache.felix.framework.Felix.resolveBundle()
  2. Apache Felix Framework
    StartLevelImpl.run
    1. org.apache.felix.framework.Felix.resolveBundle(Felix.java:3295)
    2. org.apache.felix.framework.Felix.startBundle(Felix.java:1653)
    3. org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1124)
    4. org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
    4 frames
  3. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame