Deployment could not be created.Deploy ment

2025-05-13 22:54:21

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
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢