Deployment could not be created.Deploy ment

时间:2024-10-13 10:16:47

1、本地用MyEclipse开发项目,运行在tomcat下,没有任何异常,但是安装了weblogic12之后,把war包发布到weblogic上面就会报weblogic.management.DeploymentException:Deploymentcouldnotbecreated.Deploymentcreatorisnull.项目导出war包 右键--export

Deployment could not be created.Deploy ment

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

Deployment could not be created.Deploy ment

3、解决办法就是在项目的WEB-INF下加一稍僚敉视个配置文件weblogic.xml?xmlversion="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
© 手抄报圈