0

this is my pom.xml i was trying to access the //XPath xpath = XPathFactory.newInstance().newXPath(); but getting the issue like The package javax.xml.xpath is accessible from more than one module: <unnamed>, java.xml

can anybody suggest me how can i solve this issue please ?

ISMAIL
  • 27
  • 6
  • Can you share me your import statements of the class where you are using `XPath`. Also add your `POM` to the question. – TechGeek May 01 '21 at 01:40
  • sure : import javax.xml.xpath.Xpath, and i have attached my pom.xml in the question. – ISMAIL May 03 '21 at 06:37
  • If Eclipse is your IDE, probably same issue as [Eclipse is confused by imports](https://stackoverflow.com/questions/55571046/eclipse-is-confused-by-imports-accessible-from-more-than-one-module) – D.Vanhaute Jul 28 '21 at 07:35

0 Answers0