import javax.xml.transform.Source;
import javax.xml.transform.stream.StreamSource;
import javax.xml.validation.Schema;
import javax.xml.validation.SchemaFactory;
import javax.xml.validation.Validator;
The project is based on the plug-in project before java9, which uses some subclasses of javax xml. The eclipse version now in use is 2022-03 jdk17. When the plug-in project exports the generated executable file, the error is reported when clicking the Javax.xml function at the time of running.
!ENTRY org.eclipse.ui 4 0 2024-06-14 11:14:46.036
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.Error: Unresolved compilation problems:
The package javax.xml.transform is accessible from more than one module: , java.xml
The package javax.xml.transform.stream is accessible from more than one module: , java.xml
The package javax.xml.validation is accessible from more than one module: , java.xml
The package javax.xml.validation is accessible from more than one module: , java.xml
The package javax.xml.validation is accessible from more than one module: , java.xml
Can not achieve this function, how to solve it?
I have seen a lot of workaround on the web, there are maven based changes corresponding to the pom.xml file, but this is an RCP plug-in project, does not use maven and mole-info.java, can not solve this problem now