[ https://issues.apache.org/jira/browse/NETBEANS-4342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomáš Procházka closed NETBEANS-4342. ------------------------------------- Resolution: Incomplete > netbeans 11.3 dependency on java.xml.bind under java 11 > ------------------------------------------------------- > > Key: NETBEANS-4342 > URL: https://issues.apache.org/jira/browse/NETBEANS-4342 > Project: NetBeans > Issue Type: Bug > Components: java - Project > Affects Versions: 11.3 > Environment: ubuntu 18.04, openjdk 11 > Reporter: Fred Fox > Priority: Major > Fix For: 11.3 > > > We are in the process of moving a large project from Java 8 to Java 11. I > installed a fresh copy of Netbeans 11.3 on Ubuntu 18.04, set the JDK to Java > 11, loaded the project and resolved all issues, made sure all project > settings are set to Java 11, did a clean and build, which completes with: > BUILD SUCCESSFUL (total time: 30 seconds) > When I try to run the project in netbeans (regular or debugging) I receive > the following error: > Error occurred during initialization of boot layer > java.lang.module.FindException: Module java.xml.bind not found > nbproject/build-impl.xml:1346: The following error occurred while executing > this line: > nbproject/build-impl.xml:952: Java returned: 1 > BUILD FAILED (total time: 8 seconds) > <target depends="init,compile" name="-debug-start-debuggee"> > <j2seproject3:debug> <-------------------------- line 1346 > I am able to run the resulting jar from the dist directory (with the lib > class path specified) without error. > I have also added these jars to the project libraries: > jakarta.xml.bind-api-2.3.3.jar > jaxb-runtime-2.3.3.jar > I find no dependencies on java.xml.bind when running: > jdeps -cp 'lib/*' -R --multi-release base > Is it possible that the netbeans run function is somehow still dependent on > java.xml.bind, or is it more likely that something in the project is still > looking for this? -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists