Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Upgrade to tycho 0.14.1: Access restriction: The type ... is not accessible due to restriction on classpath entry .../jre/lib/rt.jar

When I upgrading from tycho 0.13.0 to 1.14.1, I see this exception:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.14.1:compile (default-compile) on project org.guvnor.eclipse.webdav: Compilation failure: Compilation failure:
[ERROR] ....java:[4,0]
[ERROR] import org.w3c.dom.Element;
[ERROR] ^^^^^^^^^^^^^^^^^^^
[ERROR] Access restriction: The type Element is not accessible due to restriction on classpath entry /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/rt.jar



The MANIFEST.mf clearly states:

Import-Package: javax.xml.parsers,
 javax.xml.transform,
 org.w3c.dom,
 org.xml.sax


So what can cause this?

--
With kind regards,
Geoffrey De Smet




Back to the top