Troubleshooting
Problem
When attempting build your applications for Maximo Anywhere 7.6.4 the build fails with a java.lang.NoClassDefFoundError
Symptom
The build will fail with the following error in the logs
pt/IBM/Anywhere/MaximoAnywhere/build.xml:255: The following error occurred while executing this line:
/opt/IBM/Anywhere/MaximoAnywhere/build.xml:192: The following error occurred while executing this line:
/opt/IBM/Anywhere/MaximoAnywhere/build.xml:419: The following error occurred while executing this line:
/opt/IBM/Anywhere/MaximoAnywhere/anywhere-system-verification.xml:171: java.lang.NoClassDefFoundError: com.sun.org.apache.xpath.internal.XPathAPI
at com.oopsconsultancy.xmltask.jdk15.XPathAnalyser15.analyse(XPathAnalyser15.java:28)
at com.oopsconsultancy.xmltask.XmlReplace.apply(XmlReplace.java:72)
at com.oopsconsultancy.xmltask.XmlReplacement.apply(XmlReplacement.java:61)
at com.oopsconsultancy.xmltask.ant.XmlTask.processDoc(XmlTask.java:692)
at com.oopsconsultancy.xmltask.ant.XmlTask.execute(XmlTask.java:661)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
/opt/IBM/Anywhere/MaximoAnywhere/build.xml:192: The following error occurred while executing this line:
/opt/IBM/Anywhere/MaximoAnywhere/build.xml:419: The following error occurred while executing this line:
/opt/IBM/Anywhere/MaximoAnywhere/anywhere-system-verification.xml:171: java.lang.NoClassDefFoundError: com.sun.org.apache.xpath.internal.XPathAPI
at com.oopsconsultancy.xmltask.jdk15.XPathAnalyser15.analyse(XPathAnalyser15.java:28)
at com.oopsconsultancy.xmltask.XmlReplace.apply(XmlReplace.java:72)
at com.oopsconsultancy.xmltask.XmlReplacement.apply(XmlReplacement.java:61)
at com.oopsconsultancy.xmltask.ant.XmlTask.processDoc(XmlTask.java:692)
at com.oopsconsultancy.xmltask.ant.XmlTask.execute(XmlTask.java:661)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
Document Location
Worldwide
[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSPJLC","label":"Maximo Anywhere"},"ARM Category":[{"code":"a8m50000000CbKvAAK","label":"Mobility-\u003EInstallation and Builds"}],"ARM Case Number":"TS004851646","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.6.4"}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
20 January 2021
UID
ibm16406354