ssm环境基本配置

ssm环境基本配置目录

pom.xml




  4.0.0

  com.shsxt
  ssm
  1.0-SNAPSHOT
  war

  ssm Maven Webapp
  
  http://www.example.com

  
    UTF-8
    1.8
    1.8
  

  
    
      junit
      junit
      4.12
      test
    
    
    
      org.springframework
      spring-context
      4.3.2.RELEASE
    

    
    
      org.springframework
      spring-test
      4.3.2.RELEASE
    

    
    
      org.springframework
      spring-jdbc
      4.3.2.RELEASE
    

    
    
      org.springframework
      spring-tx
      4.3.2.RELEASE
    

    
    
      org.aspectj
      aspectjweaver
      1.8.9
    


    
    
      c3p0
      c3p0
      0.9.1.2
    

    
    
      org.mybatis
      mybatis
      3.4.1
    

    
    
      org.mybatis
      mybatis-spring
      1.3.0
    
    
    
      mysql
      mysql-connector-java
      5.1.39
    

    
    
      org.slf4j
      slf4j-log4j12
      1.7.2
    
    
      org.slf4j
      slf4j-api
      1.7.2
    

    
    
      com.github.pagehelper
      pagehelper
      4.1.0
    

    
    
      org.springframework
      spring-web
      4.3.2.RELEASE
    

    
    
      org.springframework
      spring-webmvc
      4.3.2.RELEASE
    

    
    
      javax.servlet
      javax.servlet-api
      3.0.1
    

    
    
      com.fasterxml.jackson.core
      jackson-core
      2.7.0
    
    
      com.fasterxml.jackson.core
      jackson-databind
      2.7.0
    
    
      com.fasterxml.jackson.core
      jackson-annotations
      2.7.0
    

    
    
      commons-fileupload
      commons-fileupload
      1.3.2
    
  

  
      
    ssm
    
      
        src/main/resources
      
      
        src/main/java
        
          **/*.xml
          **/*.properties
          **/*.tld
        
        false
      
    

    
      
      
        org.mortbay.jetty
        maven-jetty-plugin
        6.1.21
        
          10
          /ssm
        
      
      
      
        org.mybatis.generator
        mybatis-generator-maven-plugin
        1.3.2
        
          src/main/resources/generatorConfig.xml
          true
          true
        
      
    
  

spring.xml




    
    
        
    
    
    

    

    
    
        
        
        
        
    

    
    
        
    

    
    
        
            
            
            
            
            
            
            
            
        
    

    
    
        
        
    

    
    
        
        

        
    

    
    
        
        
        
    

mybatis.xml






    
    
        
    


    
        
        
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
        
    

springmvc-->servlet-context.xml





    
    
    
    

    
    
        
        
        
        
    


    
    
    
    
        
            
                
            
        
    


    
    
        
            104857600
        
        
            4096
        
    


log4j.properties丨打印日志

# Global logging configuration
log4j.rootLogger=DEBUG, stdout
# Console output...
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%5p [%t] - %m%n

db.properties

jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/demo?useUnicode=true&characterEncoding=utf8
jdbc.username=root
jdbc.password=shsxt

你可能感兴趣的:(ssm环境基本配置)