WildFly Swarm与Ghost4J抛出NoClassDefFoundError:IOUtils

时间:2017-02-14 13:29:27

标签: java maven wildfly wildfly-swarm

我正在尝试在演示项目中使用Ghost4J,并将该库包含在我的pom.xml中。

每次Ghost4J尝试访问#!/bin/bash # Run task 1 Rscript Task1.R # now run the three jobs that use Task1's output # we can fork these using '&' to run in the background in parallel Rscript Task2.R & Rscript Task3.R & Rscript Task4.R & # wait until background processes have finished wait %1 %2 %3 Rscript Task5.R 的IOUtils时抛出org.apache.commons.io,尽管commons-io.jar包含在maven生成的fatjar中。

我已经尝试将NoClassDefFoundError放在org.apache.commons.io这样的

jboss-deployment-structure.xml

我将代码推送到GitHub:https://github.com/crumohr/swarm-ghost4j

0 个答案:

没有答案