WebLogic发布出现[Deployer:149188]

最近项目上线,遇到一个问题,在此记录下来:

weblogic.management.ManagementException: [Deployer:149188]No application named "*****" exists for operation start. Operation cannot be performed until the server is restarted.

这个问题可能是服务包冲突,首先尝试解决办法修改weblogic.xml为:

	<container-descriptor>
		<prefer-web-inf-classes>true</prefer-web-inf-classes>
	</container-descriptor>

重新发布后仍然是没用。于是查看了weblogic日志,发现web.xml里面有个Servlet不存在,导致了ClassNotFoundException
错误信息
然后去删除对应的Servlet配置后重新发布还是报错,并且weblogic也不输出log日志了。感到万分绝望的我突然看到了错误的最后一句:
Operation cannot be performed until the server is restarted.

感到了希望的我马上*./stopWebLogic.sh*
然后nohup ./startWebLogic.sh &

最后终于~发布成功了!!!

猜你喜欢

转载自blog.csdn.net/weixin_40577289/article/details/88182048