Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Error in Maven Build using Tycho(Error in Maven Build using Tycho Compiler)
Error in Maven Build using Tycho [message #1820721] Mon, 27 January 2020 16:31
Nikhil Singh is currently offline Nikhil SinghFriend
Messages: 17
Registered: January 2020
Junior Member
I am trying to build my Eclipse plugin using Maven build using tycho-compiler 1.0.0.

I am getting the following error:
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.0.0:compile (default-compile) on project Compilation failure: Compilation failure:
[ERROR] ...............\[49]
[ERROR] import;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^
[ERROR] Access restriction: The type 'FtpClient' is not API (restriction on classpath entry 'C:\Program Files\AdoptOpenJDK\jdk-\jre\lib\rt.jar')
[ERROR] ...............\[50]
[ERROR] import;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^.

I searched lot and added <compilerArgs>
to my pom.xml where I define tycho-compiler-plugin.

Build is successful.

Please help me to know what is <arg>-err:-forbidden</arg> and what did it do?
Is it going to effect my plugin also? Any other impact?

Any support will be helpful.
Previous Topic:tycho-compiler-plugin:1.5.1:compile Maven Error
Next Topic:Problem with installing plugins in Eclipse
Goto Forum:

Current Time: Fri Feb 23 15:11:54 GMT 2024

Powered by FUDForum. Page generated in 0.04005 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top