我可以为我的项目创建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
答案 0 :(得分:0)
也许您应该控制TempFileProvider的版本,它可能太新或不推荐。