Article - CS341243

There are multiple references to a class file in Windchill 12 library and Java 11 which is causing compilation issues in Windchill PDMLink

Modified: 14-Aug-2024   


Applies To

  • Windchill PDMLink 12.0 to 13.0

Description

  • There are multiple references to a class file in Windchill 12 library and Java 11 which is causing Eclipse  compilation issues
  • Eclipse IDE reports error :
The package javax.xml.stream is accessible from more than one module: <unnamed>, java.xml
  • Here is list of classes causing issue
javax.xml.parsers.DocumentBuilder
javax.xml.parsers.DocumentBuilderFactory
javax.xml.parsers.ParserConfigurationException
javax.xml.validation.Schema
javax.xml.validation.SchemaFactory
javax.xml.validation.Validator
javax.xml.XMLConstants
org.w3c.dom.Document
org.w3c.dom.Element
org.w3c.dom.Node
org.w3c.dom.NodeList
org.xml.sax.ErrorHandler
org.xml.sax.InputSource
org.xml.sax.SAXException
org.xml.sax.SAXParseException
  • JAVA JDK 11 has conflict with xmlParserAPIs.jar
This is a printer-friendly version of Article 341243 and may be out of date. For the latest version click CS341243