org.osgi.framework.BundleException: Could not resolve module

Dreiven picture Dreiven · Jan 30, 2015 · Viewed 31.2k times · Source

I'm trying to setup my eclipse plugin development target and receive the following error multiple times:

!ENTRY org.eclipse.e4.ui.css.swt 4 0 2015-01-30 15:15:06.879
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.e4.ui.css.swt [955]
Unresolved requirement: Require-Bundle: org.eclipse.e4.ui.css.core; bundle-version="0.9.0"
-> Bundle-SymbolicName: org.eclipse.e4.ui.css.core; bundle-version="0.10.100.v20140424-2042"; singleton:="true"
   org.eclipse.e4.ui.css.core [1134]
     Unresolved requirement: Require-Bundle: org.apache.batik.css; bundle-version="1.7.0"
       -> Bundle-SymbolicName: org.apache.batik.css; bundle-version="1.7.0.v201011041433"
          org.apache.batik.css [1177]
            Unresolved requirement: Import-Package: org.w3c.dom.events; version="[3.0.0,4.0.0)"

Does this mean that none of these plugins can be resolved, or just not the last one org.w3c.dom.events or is this a result from the mismatch of the bundle versions of org.eclipse.e4.ui.css.core?

Answer

greg-449 picture greg-449 · Jan 30, 2015

It is just org.w3c.dom.events that can't be resolved.

You should have a org.w3c.dom.events plugin.

If you are setting up a target platform for plugin development the easiest thing to use is everything in the 'Eclipse SDK' download form http://download.eclipse.org/eclipse/downloads/