[ROO-3664] Missing package at STS 3.7 Created: 03/Sep/15  Updated: 03/Sep/15  Resolved: 03/Sep/15

Status: Resolved
Project: Spring Roo
Component/s: @ CORE
Affects Version/s: 2.0.0.M1
Fix Version/s: 2.0.0.M2

Type: Bug Priority: Critical
Reporter: Enrique Ruiz (DiSiD) Assignee: Juan Carlos García del Canto
Resolution: Complete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 15.04, JDK 1.7, STS 3.7



 Description   

The exception below is thrown when running Roo 2.0.0.M1 from STS 3.7:

ERROR: Bundle org.springframework.roo.shell.eclipse [84] Error starting bundle/org.springframework.roo.shell.eclipse-1.2.0.RELEASE.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.shell.eclipse [84]: Unable to resolve 84.0: missing requirement [84.0] osgi.wiring.package; (&(osgi.wiring.package=org.springframework.roo.file.monitor.event)(version>=1.2.0)(!(version>=2.0.0))))sep 03, 2015 7:25:31 AM org.springframework.roo.felix.JdkDelegatingLogListener logNow
GRAVE: [org.springframework.roo.shell.eclipse [84]] FrameworkEvent ERROR
org.apache.felix.log.LogException: org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.shell.eclipse [84]: Unable to resolve 84.0: missing requirement [84.0] osgi.wiring.package; (&(osgi.wiring.package=org.springframework.roo.file.monitor.event)(version>=1.2.0)(!(version>=2.0.0)))
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4097)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2114)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1368)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:745)



 Comments   
Comment by Juan Carlos García del Canto [ 03/Sep/15 ]

The problem was that STS Roo Shell doesn't prevent deploy of an old version bundle, so when Roo try to deploy that bundle, shows the message above.

To solve this is necessary to prevent deploy of eclipse roo shell bundle with version 1.2.0 when Spring Roo 2.x is used.

Fixed and updated on the following pull-request to spring-ide project:

https://github.com/spring-projects/spring-ide/pull/31

Generated at Wed Oct 23 00:11:51 UTC 2019 using Jira 7.13.8#713008-sha1:1606a5c1e7006e1ab135aac81f7a9566b2dbc3a6.