Deployment could not be created.Deploy ment

时间:2026-02-12 21:09:11

1、本地用MyEclipse开发项目,运行在tomcat下,没有任何异常,但是安装了weblogic12之后,把war包发布到weblogic上面就会报weblogic.management.DeploymentException: Deployment could not be created. Deployment creator is null.

项目导出war包 右键--export

Deployment could not be created.Deploy ment

2、把war包发布到weblogic上抛异常

Deployment could not be created.Deploy ment

3、解决办法就是在项目的WEB-INF下加一个配置文件weblogic.xml

?xml version="1.0" encoding="UTF-8"?><weblogic-web-app><container-descriptor><prefer-web-inf-classes>true</prefer-web-inf-classes><show-archived-real-path-enabled>true</show-archived-real-path-enabled></container-descriptor></weblogic-web-app>

就ok了

Deployment could not be created.Deploy ment

Deployment could not be created.Deploy ment

© 2026 长短途
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com