zoukankan      html  css  js  c++  java
  • Weblogic错误

    1、weblogic启动报错:BEA-149265

    解决方法:

    在WEB-INF目录下添加weblogic.xml,内容如下:

    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-web-app>
     <container-descriptor>
      <prefer-web-inf-classes>false</prefer-web-inf-classes>
     </container-descriptor>
    </weblogic-web-app>

    prefer-web-inf-classes  如果设置true还报错,就更改为false

    2、BEA-160197

    修改web.xml文件
    自动生成的文件头:

    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" 
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
    http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    


    2.1 第一种修改方式

    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:j2ee="http://java.sun.com/xml/ns/j2ee">


    2.2 第二种修改方式

    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4"
    xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    

    其他的地方不需要动。

  • 相关阅读:
    LeetCode113. 路径总和 II
    LeetCode257. 二叉树的所有路径
    LeetCode222. 完全二叉树的节点个数
    LeetCode404. 左叶子之和
    LeetCode110. 平衡二叉树
    LeetCode101. 对称二叉树
    LeetCode100. 相同的树
    llustrator CC2017下载AI2020
    vs code 代码格式化整理
    人生格言
  • 原文地址:https://www.cnblogs.com/xqzt/p/5637306.html
Copyright © 2011-2022 走看看