运行ant build时找不到参考jspc.classpath

时间:2018-07-31 20:59:28

标签: java ant

我在ant构建文件中定义了一个任务,如下所示。

 <taskdef name="wsjspc" classname="com.ibm.websphere.ant.tasks.JspC" >
    <classpath refid="jspc.classpath" />
</taskdef>

我还在如下所示的同一构建文件中定义了对jspc.classpath的引用

<path id="jspc.classpath">
    <fileset dir="${ibm.websphere.runtime}" includes="*.jar" />
</path>

但是当我运行构建文件时,出现以下错误。你能告诉我什么地方不对吗

build.xml:找不到参考jspc.classpath。

0 个答案:

没有答案