ANT build.xml添加类

时间:2018-07-02 12:26:30

标签: java ant weblogic

我是蚂蚁工具的初学者,我想在构建蚂蚁的过程中加入一堂课。

问题中的错误是:

<Jul 2, 2018 2:07:25 PM CEST> <Warning> <EJB> <BEA-010065> <MessageDrivenBean threw an Exception in onMessage(). The exception was:
 java.lang.NoClassDefFoundError: oracle/communications/ordermanagement/util/xml/XMLHelper.
java.lang.NoClassDefFoundError: oracle/communications/ordermanagement/util/xml/XMLHelper
        at com.mslv.oms.util.xml.XMLHelper.parseText(Unknown Source)
        at oracle.communications.ordermanagement.unsupported.emulator.ExternalSystemEmulatorMdb.logMessage(ExternalSystemEmulatorMdb.java:181)
        at oracle.communications.ordermanagement.unsupported.emulator.ExternalSystemEmulatorMdb.onMessage(ExternalSystemEmulatorMdb.java:146)

我试图解决在build.xml类路径中添加“ oracle / communications / ordermanagement / util / xml / XMLHelper”的问题:

<path id="project.class.path">
        <pathelement path="${wls.lib.dir}/weblogic.jar"/>
        <pathelement path="${wls.lib.dir}/wlclient.jar"/>
        <pathelement path="${jdev.lib.dir}/javax.jms_1.1.1.jar"/>
        <pathelement path="${src.dir}/oracle/communications/ordermanagement"/>
        <fileset dir="${osm.lib.dir}" includes="*.jar"/>
        <fileset dir="${osm.lib.dir}/Customization/osm-ear" includes="*.jar"/>
</path>

enter image description here

谢谢。

0 个答案:

没有答案