博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
maven+spring4+hibernate4 搭建
阅读量:6554 次
发布时间:2019-06-24

本文共 7487 字,大约阅读时间需要 24 分钟。

hot3.png

maven+spring4+hibernate4 搭建

mavenWEB项目搭建

参考我转的帖子

POM文件

  
4.0.0
  
com.wangwei
  
MyWebApp
  
0.0.1-SNAPSHOT
  
war
  
MyWebApp Maven Webapp
    
http://maven.apache.org
   
          
4.10
          
2.0
          
5.1.21
          
4.1.4.Final
          
1.2.1
          
3.12.1.GA
          
3.0.2
          
4.1.3.RELEASE
      
    
                    
          
              
junit
              
junit
              
${junit.version}
              
test
          
                    
          
              
org.apache.cxf
              
cxf-core
              
${cxf.version}
          
                    
          
              
javassist
              
javassist
              
${javassist.version}
          
 
jstl
jstl
1.2
taglibs
standard
1.1.2
        
          
              
commons-fileupload
              
commons-fileupload
              
${commons.fileupload.version}
          
          
              
commons-io
              
commons-io
              
1.4
          
            
          
              
org.apache.logging.log4j
              
log4j-api
              
${log4j.version}
          
          
              
org.apache.logging.log4j
              
log4j-core
              
${log4j.version}
          
            
          
              
mysql
              
mysql-connector-java
              
${mysql.jdbc.version}
          
              
          
              
org.hibernate
              
hibernate-core
              
${hibernate.version}
          
            
          
              
c3p0
              
c3p0
              
0.9.1.2
          
                              
          
              
org.springframework
              
spring-core
              
${spring.version}
          
          
              
org.springframework
              
spring-web
              
${spring.version}
          
          
              
org.springframework
              
spring-webmvc
              
${spring.version}
          
          
              
org.springframework
              
spring-jdbc
              
${spring.version}
          
          
              
org.springframework
              
spring-aop
              
${spring.version}
          
          
              
org.springframework
              
spring-orm
              
${spring.version}
          
          
              
org.springframework
              
spring-aspects
              
${spring.version}
          
          
              
org.springframework
              
spring-context-support
              
${spring.version}
          
                    
          
              
org.aspectj
              
aspectjrt
              
1.8.4
          
          
              
org.aspectj
              
aspectjweaver
              
1.8.4
          
          
              
org.aspectj
              
aspectjlib
              
1.6.2
          
                    
          
              
org.quartz-scheduler
              
quartz
              
2.2.0
          
                
  

WEB.xml

  
json_test
  
    
login.jsp
  
    
  
  
contextConfigLocation
  
classpath*:spring-*.xml
  
    
  
  
org.springframework.web.context.ContextLoaderListener
  
    
  
  
springMVC
  
org.springframework.web.servlet.DispatcherServlet
  
  
contextConfigLocation
  
classpath*:spring-mvc.xml
  
  
1
  
  
  
springMVC
  
/
  
    
  
  
encodingFilter
  
org.springframework.web.filter.CharacterEncodingFilter
  
  
encoding
  
UTF-8
  
  
  
forceEncoding
  
true
  
  
  
  
encodingFilter
  
/*
  
    
  
  
openSession
  
org.springframework.orm.hibernate4.support.OpenSessionInViewFilter
  
  
  
openSession
  
/*
  

spring-beans.xml

spring-common.xml

org.hibernate.dialect.MySQLDialect
update
true
true
       
       
           
               
PROPAGATION_REQUIRED,-Exception               
PROPAGATION_REQUIRED,-myException               
PROPAGATION_REQUIRED               
PROPAGATION_REQUIRED           
           

spring-mvc.xml

      
      
         

转载于:https://my.oschina.net/u/204616/blog/411706

你可能感兴趣的文章
Algs4-1.4.25扔两个鸡蛋
查看>>
Algs4-2.4.22调优先队列的整数组大小
查看>>
设计模式之建造者
查看>>
模块化的JavaScript开发的优势在哪里
查看>>
上海某软件公司电话面试分享
查看>>
TCP 和 UDP 协议发送数据包的大小 (转载)
查看>>
用Alamofire进行网络请求的一段代码解析(一)
查看>>
elasticsearch的percolator操作
查看>>
windows 定时任务:schtasks,定时关闭网易云音乐
查看>>
C# Note17: 使用Ionic.Zip.dll实现解压缩文件
查看>>
Mina Basics 06-传输
查看>>
c 编译异常 switch 之a label can only be part of a statement and a declaration is not a statement...
查看>>
nullnullDataTable 排序
查看>>
Codeforces Ilya and Queries
查看>>
NEWS - InstallShield 2013发布
查看>>
Viewport
查看>>
〖Linux〗Debian 7.1.0 Wheezy使用ltib报错的解决办法
查看>>
〖Android〗(how-to) fix k860/k860i buletooth.
查看>>
static与线程安全 -摘自网络
查看>>
jsf标签,jsp标签与jstl标签
查看>>