如何使用Wildfly 10修复`java.io.IOException:无效的清单格式(Webservice)`?

时间:2016-11-09 12:41:46

标签: java jboss wildfly-10 manifest.mf

17:38:34,739 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit."axiswebservice.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."axiswebservice.war".STRUCTURE: WFLYSRV0153: Failed to process phase STRUCTURE of deployment "axiswebservice.war"
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)`enter code here`
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0161: Failed to get manifest for deployment "/content/axiswebservice.war/WEB-INF/lib/axis-sdk-1.0.jar"
    at org.jboss.as.server.deployment.module.ManifestAttachmentProcessor.getManifest(ManifestAttachmentProcessor.java:78)
    at org.jboss.as.server.deployment.module.ManifestAttachmentProcessor.deploy(ManifestAttachmentProcessor.java:65)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
    ... 5 more
Caused by: java.io.IOException: invalid manifest format
    at java.util.jar.Manifest.read(Manifest.java:225)
    at java.util.jar.Manifest.<init>(Manifest.java:69)
    at org.jboss.vfs.VFSUtils.readManifest(VFSUtils.java:243)
    at org.jboss.vfs.VFSUtils.getManifest(VFSUtils.java:227)
    at org.jboss.as.server.deployment.module.ManifestAttachmentProcessor.getManifest(ManifestAttachmentProcessor.java:76)
    ... 7 more
17:38:34,746 ERROR [org.jboss.as.controller.management-operation] (management task-2) WFLYCTL0013: Operation ("full-replace-deployment") failed - address: (undefined) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"axiswebservice.war\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"axiswebservice.war\".STRUCTURE: WFLYSRV0153: Failed to process phase STRUCTURE of deployment \"axiswebservice.war\"
    Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0161: Failed to get manifest for deployment \"/content/axiswebservice.war/WEB-INF/lib/axis-sdk-1.0.jar\"

我的MANIFEST.MF文件:

  

清单 - 版本:1.0
  规范标题:Axis Bank ::企业连接解决方​​案
  类路径:lib4 / bcmail-jdk14-145.jar lib4 / bcprov-ext-jdk14-145.jar li
    b4 / bcprov-jdk14-145.jar lib4 / jsch-0.1.44.jar
  创建者:( Axis Bank-IT,Salil Diwakar)
  主类:com.axis.enc.AxisEncryption
  实施 - 标题:企业连接解决方​​案
  规格供应商:Salil Diwakar,Axis Bank-IT   规格 - 版本:1.0
  实施 - 版本:1.0
  名称:Axis Bank
  
  ?

在本地环境中运行项目时没有出现错误,当我尝试在测试服务器(Rhel)Wildfly 10上部署时,它给出了错误。

0 个答案:

没有答案