在jboss保险丝的快速入门示例中,我使用mvn clean install来构建rest项目,并使用mvn fabric8:deploy部署了该项目,但是当我将此配置文件分配给容器时,它出现了错误:我进行了很多搜索以查找解决方案,但我不知道哪个功能或工件有错误
Provision Exception:
io.fabric8.common.util.MultiException: Error
at io.fabric8.agent.download.impl.MavenDownloadManager$MavenDownloader.(MavenDownloadManager.java:93)
at io.fabric8.agent.download.impl.MavenDownloadManager.createDownloader(MavenDownloadManager.java:71)
at io.fabric8.agent.service.Agent.loadResources(Agent.java:626)
at io.fabric8.agent.service.Agent.provision(Agent.java:212)
at io.fabric8.agent.service.Agent.provision(Agent.java:199)
at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:753)
at io.fabric8.agent.DeploymentAgent$4.run(DeploymentAgent.java:303)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
org.osgi.framework.BundleException: Unsupported 'Bundle-ManifestVersion' value: 1
at io.fabric8.agent.resolver.ResourceBuilder.build(ResourceBuilder.java:72)
at io.fabric8.agent.resolver.ResourceBuilder.build(ResourceBuilder.java:65)
at io.fabric8.agent.service.Agent$3.downloaded(Agent.java:633)
at io.fabric8.agent.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:143)
at io.fabric8.agent.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:137)
at io.fabric8.agent.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:343)
at io.fabric8.agent.download.impl.DefaultFuture.notifyListeners(DefaultFuture.java:328)
at io.fabric8.agent.download.impl.DefaultFuture.setValue(DefaultFuture.java:254)
at io.fabric8.agent.download.impl.AbstractDownloadTask.setFile(AbstractDownloadTask.java:53)
at io.fabric8.agent.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:41)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
答案 0 :(得分:0)
要解决此问题,请在保险丝端子中输入以下命令: 个人资料显示个人资料名称
结果显示: 代理属性: optional.mvn:com.fasterxml.jackson.module / jackson-module-jsonSchema / 2.4.3 = mvn:com.fasterxml.jackson.module / jackson-module-jsonSchema / 2.4.3 lastRefresh.quickstarts-cxf-rest = 1564925509134 optional.fab:mvn:com.wordnik / swagger-jaxrs_2.10 / 1.3.12 = fab:mvn:com.wordnik / swagger-jaxrs_2.10 / 1.3.12
在保险丝V6.3中,晶圆厂无法正常工作,您应该将其包裹起来: 因此,在保险丝控制台中,打开配置文件的座席属性,并使其为optional.fab注释
问题会解决