突然之间,我看到基于gradle-cargo-plugin项目的cargoRunLocal任务失败了。我不明白为什么。我没有改变我的gradle配置AFAIK。有人有建议吗?
<route>
<from uri="file://C:/a"/>
<doTry>
<unmarshal><csv delimiter=","/></unmarshal>
<process ref="myProccesor"/>
<marshal ref="jb"></marshal>
<to uri="file://C:/ok"/>
<doCatch>
<exception>java.lang.Exception</exception>
<to uri="file://C:/nok"/>
</doCatch>
</doTry>
</route>
答案 0 :(得分:0)
我发现问题的根源是我删除了服务器配置目录(在我的情况下称为&#39;测试&#39;而不是通常的&#39;默认&#39;)$ JBOSS_ROOT /服务器/。一旦我创建了这个目录,问题就消失了。在gradle-cargo-plugin中,这个案例应该有更好的错误报告。