[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cbi-dev] Issue compiling CBI WTP with Access Restriction error
|
On 05/15/2012 08:18 PM, Igor Fedorenko wrote:
Can you try Tycho 0.15.0-SNAPSHOT? It has fixes for couple of problems
related to bundle runtime execution environment handling, which I think
can explain the compilation errors that you see.
I tried with 0.15.0-SNAPSHOT and am still seeing the same errors.
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-compiler-plugin:0.15.0-SNAPSHOT:compile
(default-compile) on project org.eclipse.wst.sse.core: Compilation
failure: Compilation failure:
[ERROR]
/home/user/Downloads/webtools/wtp-aggregator/sourceediting/plugins/org.eclipse.wst.sse.core/src-contentproperties/org/eclipse/wst/sse/internal/contentproperties/SimpleNodeOperator.java:[46,0]
[ERROR] import org.w3c.dom.traversal.NodeIterator;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Access restriction: The type NodeIterator is not accessible due
to restriction on classpath entry
/home/user/Downloads/jdk1.6.0_32/jre/lib/rt.jar
[ERROR]
/home/user/Downloads/webtools/wtp-aggregator/sourceediting/plugins/org.eclipse.wst.sse.core/src-contentproperties/org/eclipse/wst/sse/internal/contentproperties/SimpleNodeOperator.java:[288,0]
[ERROR] public void printTree(NodeIterator iter) {
[ERROR] ^^^^^^^^^^^^
[ERROR] Access restriction: The type NodeIterator is not accessible due
to restriction on classpath entry
/home/user/Downloads/jdk1.6.0_32/jre/lib/rt.jar
[ERROR]
/home/user/Downloads/webtools/wtp-aggregator/sourceediting/plugins/org.eclipse.wst.sse.core/src-contentproperties/org/eclipse/wst/sse/internal/contentproperties/SimpleNodeOperator.java:[290,0]
[ERROR] while ((n = iter.nextNode()) != null) {
[ERROR] ^^^^^^^^^^^^^^^
[ERROR] Access restriction: The method nextNode() from the type
NodeIterator is not accessible due to restriction on classpath entry
/home/user/Downloads/jdk1.6.0_32/jre/lib/rt.jar
[ERROR] 3 problems (3 errors)
[ERROR] -> [Help 1]