• 你有遇到项目部署正常,登陆不进去系统的情况吗?

  • 你有遇到启动,weblogic就提示数据库连接超时吗?

.....

一切问题,都将会在这个神器文件面前化为乌有!

<?xml version='1.0' encoding='UTF-8'?>
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90">
 <charset-params>
  <input-charset>
   <resource-path>/*</resource-path>
   <java-charset-name>utf-8</java-charset-name>
  </input-charset>
 </charset-params>
 <container-descriptor>
  <!-- 让weblogic在冲突情况下,默认采用web应用下的lib,而不采用它本身classpath下的jar包-->
  <prefer-web-inf-classes>true</prefer-web-inf-classes>
 </container-descriptor>
</weblogic-web-app>

以上,全部复制保存为:weblogic.xml放到web.xml同级位置,运行绝对ok。