Spring4 Hibernate4 Struts2在WebLogic 10.3.3上面部署

折腾了4天,终于可以部署了;

1,lib下面的包:

antlr-2.7.7.jar
asm-5.0.2.jar
asm-commons-5.0.2.jar
asm-tree-5.0.2.jar
c3p0-0.9.5.jar
c3p0-oracle-thin-extras-0.9.5.jar
com.springsource.net.sf.cglib-2.2.0.jar
com.springsource.org.aopalliance-1.0.0.jar
com.springsource.org.aspectj.weaver-1.6.8.RELEASE.jar
commons-fileupload-1.3.1.jar
commons-io-2.2.jar
commons-lang3-3.2.jar
commons-logging-1.1.3.jar
dom4j-1.6.1.jar
flexjson-2.1.jar
freemarker-2.3.19.jar
hibernate-commons-annotations-4.0.5.Final.jar
hibernate-core-4.3.7.Final.jar
hibernate-jpa-2.1-api-1.0.0.Final.jar
jandex-1.1.0.Final.jar
javassist-3.18.1-GA.jar
jboss-logging-3.1.3.GA.jar
jboss-logging-annotations-1.2.0.Beta1.jar
jboss-transaction-api_1.2_spec-1.0.0.Final.jar
log4j-1.2.17.jar
mchange-commons-java-0.2.9.jar
mysql-connector-java-5.1.7-bin.jar
ognl-3.0.6.jar
ojdbc14.jar
slf4j-api-1.7.5.jar
slf4j-log4j12-1.7.5.jar
spring-aop-4.1.4.RELEASE.jar
spring-aspects-4.1.4.RELEASE.jar
spring-beans-4.1.4.RELEASE.jar
spring-context-4.1.4.RELEASE.jar
spring-core-4.1.4.RELEASE.jar
spring-expression-4.1.4.RELEASE.jar
spring-jdbc-4.1.4.RELEASE.jar
spring-orm-4.1.4.RELEASE.jar
spring-tx-4.1.4.RELEASE.jar
spring-web-4.1.4.RELEASE.jar
spring-webmvc-4.1.4.RELEASE.jar
struts2-core-2.3.20.jar
struts2-json-plugin-2.3.16.jar
struts2-spring-plugin-2.3.20.jar
xwork-core-2.3.20.jar

2,weblogic.xml中的信息

<?xml version="1.0" encoding="UTF-8"?>



<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">

    <charset-params>

        <input-charset>

            <resource-path>/</resource-path>

            <java-charset-name>UTF-8</java-charset-name>

        </input-charset>

    </charset-params>

    <jsp-descriptor>

        <precompile>true</precompile>

    </jsp-descriptor>



    <container-descriptor>

        <!--优先加载项目lib中的jar包 -->

        <prefer-application-packages>

            <package-name>antlr.*</package-name>

            <package-name>org.hibernate.*</package-name>

            <package-name>javax.persistence.*</package-name>

        </prefer-application-packages>

    </container-descriptor>



</weblogic-web-app>

 

你可能感兴趣的:(Hibernate4)