Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
IBM Worklight 6.1-Ant生成失败:无法加载定义_Ant_Ibm Mobilefirst_Worklight Server_Websphere Liberty - Fatal编程技术网

IBM Worklight 6.1-Ant生成失败:无法加载定义

IBM Worklight 6.1-Ant生成失败:无法加载定义,ant,ibm-mobilefirst,worklight-server,websphere-liberty,Ant,Ibm Mobilefirst,Worklight Server,Websphere Liberty,我已将worklight server从v6.0升级到v6.1。 目标环境是Liberty和Oracle数据库。 我已经为v6.1构建了一个war,并尝试部署它。 它失败,并显示以下错误消息: [taskdef] Could not load definitions from resource com/worklight/ant/defaults.properties. It could not be found. 蚂蚁罐子的名字已经改变了。因此,我不得不在xml配置文件中使用名为“workl

我已将worklight server从v6.0升级到v6.1。 目标环境是Liberty和Oracle数据库。 我已经为v6.1构建了一个war,并尝试部署它。 它失败,并显示以下错误消息:

[taskdef] Could not load definitions from resource com/worklight/ant/defaults.properties. It could not be found.

蚂蚁罐子的名字已经改变了。因此,我不得不在xml配置文件中使用名为“worklight ant deployer.jar”的新需求,而不是“worklight ant.jar”

<taskdef resource="com/worklight/ant/defaults.properties">
  <classpath>
    <fileset dir="${worklight.server.install.dir}/WorklightServer">
      <include name="worklight-ant-deployer.jar"/>
    </fileset>
 </classpath>
</taskdef>