Jam*_*vec 9 deployment websphere websphere-8
尝试使用jspl的ant问题部署带有websphere的耳朵时出现以下错误:
[wsadmin] WASX7017E: Exception received while running file "C:\...\AppData\Local\Temp\wsant6857788060872488512jacl"; exception information: com.ibm.websphere.management.application.client.AppDeploymentException: com.ibm.websphere.management.application.client.AppDeploymentException: [Root exception is org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml]
Run Code Online (Sandbox Code Playgroud)
当我尝试从websphere控制台部署耳朵时,我得到:
The following exception occurred. Check log for details.
com.ibm.websphere.management.application.client.AppDeploymentException: [Root exception is org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml]
Run Code Online (Sandbox Code Playgroud)
机器详细信息:Win7x64,WebSphere 8.5 x86,使用oracle jdk 6u30 x86(也使用x64测试).
其他人已经能够让安装程序为他们工作.WebSphere连接信息是正确的,因为其他脚本正确更新了共享库.我很困惑为什么它适用于其他机器,而不是这个......任何答案/建议都表示赞赏.
经过多次搜索(甚至在类似问题上发布了一笔赏金),我发现问题是web.xml中的注释.
我很幸运,有一个没有评论和工作的源分支,这个其他分支确实有评论并且被打破了.来自不同分支的不同安装程序允许安装程序在某些计算机上工作,而这个其他分支安装程序在我的计算机上崩溃.
删除注释允许WebSphere的验证器通过该错误......有趣的东西......将它报告给WebSphere人员.
| 归档时间: |
|
| 查看次数: |
32052 次 |
| 最近记录: |