4.0.0 Not working on Luna

246 views
Skip to first unread message

Nayan Hajratwala

unread,
Jul 9, 2014, 10:39:07 AM7/9/14
to scala-i...@googlegroups.com
Hey folks -- having some trouble getting ScalaIDE working in Luna.

The install goes successfully, but I have no Scala Perspective, no recognition of Scala files, no Scala anything :-(

Some Details:
  * Fresh install of Luna J2EE version.
  * Install of Scala-IDE attempted from both:

With the nightly install, here are the current installation details from eclipse:
A couple errors are showing up in the Error View:

org.osgi.framework.BundleException: Could not resolve module: org.scala-ide.sdt.core [880]
  Bundle was not resolved because of a uses contraint violation.
  org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource org.scala-ide.sdt.core [osgi.identity; osgi.identity="org.scala-ide.sdt.core"; type="osgi.bundle"; version:Version="4.0.0.nightly-2_11-201407060513-0fed1d7"; singleton:="true"] because it is exposed to package 'javax.xml.bind' from resources org.eclipse.osgi [osgi.identity; osgi.identity="org.eclipse.osgi"; type="osgi.bundle"; version:Version="3.10.0.v20140606-1445"; singleton:="true"] and javax.xml.bind [osgi.identity; osgi.identity="javax.xml.bind"; type="osgi.bundle"; version:Version="2.1.9.v201005080401"] via two dependency chains.

Chain 1:
  org.scala-ide.sdt.core [osgi.identity; osgi.identity="org.scala-ide.sdt.core"; type="osgi.bundle"; version:Version="4.0.0.nightly-2_11-201407060513-0fed1d7"; singleton:="true"]
    require: (osgi.wiring.bundle=org.eclipse.core.runtime)
     |
    provide: osgi.wiring.bundle: org.eclipse.core.runtime
  org.eclipse.osgi [osgi.identity; osgi.identity="org.eclipse.osgi"; type="osgi.bundle"; version:Version="3.10.0.v20140606-1445"; singleton:="true"]

Chain 2:
  org.scala-ide.sdt.core [osgi.identity; osgi.identity="org.scala-ide.sdt.core"; type="osgi.bundle"; version:Version="4.0.0.nightly-2_11-201407060513-0fed1d7"; singleton:="true"]
    require: (&(osgi.wiring.bundle=org.scala-ide.sbt.full.library)(&(bundle-version>=0.13.0)(!(bundle-version>=0.14.0))))
     |
    provide: osgi.wiring.bundle; bundle-version:Version="0.13.2.nightly-2_11-20140706-0711"; osgi.wiring.bundle="org.scala-ide.sbt.full.library"
  org.scala-ide.sbt.full.library [osgi.identity; osgi.identity="org.scala-ide.sbt.full.library"; type="osgi.bundle"; version:Version="0.13.2.nightly-2_11-20140706-0711"]
    import: (osgi.wiring.package=javax.xml.bind)
     |
    export: osgi.wiring.package: javax.xml.bind
  javax.xml.bind [osgi.identity; osgi.identity="javax.xml.bind"; type="osgi.bundle"; version:Version="2.1.9.v201005080401"]
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)


AND 

org.osgi.framework.BundleException: Could not resolve module: org.scala-ide.sdt.debug [881]
  Unresolved requirement: Require-Bundle: org.scala-ide.equinox-weaving-launcher; bundle-version="[1.1.0,2.0.0)"; resolution:="optional"
  Unresolved requirement: Require-Bundle: org.scala-ide.sdt.core
    -> Bundle-SymbolicName: org.scala-ide.sdt.core; bundle-version="4.0.0.nightly-2_11-201407060513-0fed1d7"; singleton:="true"
       org.scala-ide.sdt.core [880]
         No resolution report for the bundle.  Bundle was not resolved because of a uses contraint violation.
  org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource org.scala-ide.sdt.debug [osgi.identity; osgi.identity="org.scala-ide.sdt.debug"; type="osgi.bundle"; version:Version="4.0.0.nightly-2_11-201407060513-0fed1d7"; singleton:="true"] because it is exposed to package 'javax.xml.bind' from resources org.eclipse.osgi [osgi.identity; osgi.identity="org.eclipse.osgi"; type="osgi.bundle"; version:Version="3.10.0.v20140606-1445"; singleton:="true"] and javax.xml.bind [osgi.identity; osgi.identity="javax.xml.bind"; type="osgi.bundle"; version:Version="2.1.9.v201005080401"] via two dependency chains.

Chain 1:
  org.scala-ide.sdt.debug [osgi.identity; osgi.identity="org.scala-ide.sdt.debug"; type="osgi.bundle"; version:Version="4.0.0.nightly-2_11-201407060513-0fed1d7"; singleton:="true"]
    require: (osgi.wiring.bundle=org.eclipse.core.runtime)
     |
    provide: osgi.wiring.bundle: org.eclipse.core.runtime
  org.eclipse.osgi [osgi.identity; osgi.identity="org.eclipse.osgi"; type="osgi.bundle"; version:Version="3.10.0.v20140606-1445"; singleton:="true"]

Chain 2:
  org.scala-ide.sdt.debug [osgi.identity; osgi.identity="org.scala-ide.sdt.debug"; type="osgi.bundle"; version:Version="4.0.0.nightly-2_11-201407060513-0fed1d7"; singleton:="true"]
    require: (&(osgi.wiring.bundle=org.scala-ide.sbt.full.library)(&(bundle-version>=0.13.0)(!(bundle-version>=0.14.0))))
     |
    provide: osgi.wiring.bundle; bundle-version:Version="0.13.2.nightly-2_11-20140706-0711"; osgi.wiring.bundle="org.scala-ide.sbt.full.library"
  org.scala-ide.sbt.full.library [osgi.identity; osgi.identity="org.scala-ide.sbt.full.library"; type="osgi.bundle"; version:Version="0.13.2.nightly-2_11-20140706-0711"]
    import: (osgi.wiring.package=javax.xml.bind)
     |
    export: osgi.wiring.package: javax.xml.bind
  javax.xml.bind [osgi.identity; osgi.identity="javax.xml.bind"; type="osgi.bundle"; version:Version="2.1.9.v201005080401"]
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

iulian dragos

unread,
Jul 10, 2014, 5:15:27 AM7/10/14
to scala-i...@googlegroups.com
Hi there,

I have never seen such an error message, I don't really know what's going on. This is using the nightly build, if I understand correctly, and the Luna release?


--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/661b49e0-7e4a-4881-8add-d970487495f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais

Mirko Stocker

unread,
Jul 10, 2014, 5:22:42 AM7/10/14
to scala-i...@googlegroups.com
On Thursday 10 July 2014 11:15:06 iulian dragos wrote:
> Hi there,
>
> I have never seen such an error message,

Me neither, but it seems we're not the only ones having this problem since the
Luna release:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=430458

It mentions a workaround and a possible solution that might also work for us.

Cheers

Mirko

--
Mirko Stocker | m...@misto.ch
Work: http://ifs.hsr.ch | http://infoq.com
Personal: http://misto.ch | http://twitter.com/m_st

iulian dragos

unread,
Jul 10, 2014, 5:32:59 AM7/10/14
to scala-i...@googlegroups.com
On Thu, Jul 10, 2014 at 11:22 AM, Mirko Stocker <m...@misto.ch> wrote:
On Thursday 10 July 2014 11:15:06 iulian dragos wrote:
> Hi there,
>
> I have never seen such an error message,

Me neither, but it seems we're not the only ones having this problem since the
Luna release:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=430458

It mentions a workaround and a possible solution that might also work for us.

That's very useful, thanks!
 

Cheers

Mirko

--
Mirko Stocker | m...@misto.ch
Work: http://ifs.hsr.ch | http://infoq.com
Personal: http://misto.ch | http://twitter.com/m_st
--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Nayan Hajratwala

unread,
Jul 10, 2014, 10:16:05 AM7/10/14
to scala-i...@googlegroups.com
Yes, nightly build & luna -- It's the J2EE version of Luna. I'll try to uninstall the other plugins I have and see if that makes a difference.

Nayan Hajratwala

unread,
Jul 10, 2014, 10:39:08 AM7/10/14
to scala-i...@googlegroups.com
OK, per the bug report, i added -clean to my eclipse.ini and started up. Everything worked fine (other than some errors in my project ;-) ).

I then took the -clean out of eclipse.ini and restarted. Everything is still fine.

Here's what I think happened:

In my Kepler installation, I had Spring IDE installed (the bundle referenced in the bug report). When I upgraded to Luna, I used the same workspace, so there must be some reference in the .metadata or something like that to this javax bundles. Running the -clean cleared all that out.

Anyway, seems all is well for now. Thanks for your help!
Reply all
Reply to author
Forward
0 new messages