java - weblogic 上配置spring出现异常
迷茫
迷茫 2017-04-17 16:36:12
0
1
475
迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(1)
迷茫

Modifyweblogic.xml, add:

<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">

<weblogic-web-app>
    <container-descriptor>  
        <!--优先加载位于 Web 应用程序的 WEB-INF 目录中的类,然后再加载应用程序或系统类加载器中的类-->  
        <!-- <prefer-web-inf-classes>true</prefer-web-inf-classes>   -->


        <prefer-application-packages>
            <package-name>antlr.*</package-name>
            <package-name>org.hibernate.*</package-name>
            <package-name>javax.persistence.*</package-name>
            <package-name>org.apache.commons.*</package-name>
        </prefer-application-packages>

    </container-descriptor>
</weblogic-web-app>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!