0

我可以为我的项目创建 wildfly swarm jar,但是在执行时我遇到以下错误:[使用 gradle 和 swarm 插件版本 2016.10.0]

    2016-11-03 16:02:11,548 ERROR [org.jboss.msc.service.fail] (MSC service thread 1
-7) MSC000001: Failed to start service jboss.deployment-mount-provider: org.jbos
s.msc.service.StartException in service jboss.deployment-mount-provider: Failed
to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont
rollerImpl.java:1904)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError: org.jboss.vfs.TempFileProvider.create(Lj
ava/lang/String;Ljava/util/concurrent/ScheduledExecutorService;Z)Lorg/jboss/vfs/
TempFileProvider;
at org.jboss.as.server.deployment.DeploymentMountProvider$Factory$Server
DeploymentRepositoryImpl.start(DeploymentMountProvider.java:125)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se
rviceControllerImpl.java:1948)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont
rollerImpl.java:1881)
... 3 more
4

1 回答 1

0

也许您应该控制 TempFileProvider 的版本,它可能太新或已弃用。

于 2016-11-23T14:07:13.933 回答