0

I am using SE 17 but to access an SOAP API Endpoint in java I need a jdk version of 1.7 or below , else the compiler throws me and exception as "The package javax.xml.namespace is accessible from more than one module: , java.xml".I've tried to add the java.xml package into classpath and re-run my whole project but it's still not working.I need to run javax.xml.namespace in simple core JAVA SE 17 (not any maven or gradle project).

HR S
  • 3
  • 2
  • You have a dependency (directly or indirectly) which provides `javax.xml.namespace`, you need to remove that dependency because it is included in Java itself. – Mark Rotteveel Jan 14 '23 at 11:12

0 Answers0