Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsError in Maven Build using Tycho
https://www.eclipse.org/forums/index.php/mv/msg/1102163/1820721/#msg_1820721
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 com.infy.finacle.fsdp.cwbcore.menu: Compilation failure: Compilation failure:
[ERROR] ...............\Getfile.java:[49]
[ERROR] import sun.net.ftp.FtpClient;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^
[ERROR] Access restriction: The type 'FtpClient' is not API (restriction on classpath entry 'C:\Program Files\AdoptOpenJDK\jdk-8.0.202.08\jre\lib\rt.jar')
[ERROR] ...............\Getfile.java:[50]
[ERROR] import sun.net.ftp.FtpDirEntry;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^.
I searched lot and added <compilerArgs>
<arg>-err:-forbidden</arg>
</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.
]]>Nikhil Singh2020-01-27T16:31:31-00:00