[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [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
|
What is Bundle-RequiredExecutionEnvironment of your bundle? Does the
minimal requiested BREE provide org.w3c.dom package?
--
Regards,
Igor
On 12-04-17 5:56 AM, Geoffrey De Smet wrote:
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?