Java后端开发配置文件

  • generatorConfig.xml文件生成mybatis文件








    
    

    
    

    

        
        
            
            
        

        
        
        

        
        
            
        

        
        
        
            
            
            
            
            
            
            
            
        

        
        
        
            
        

        

        
        
        
            
            
        

        

        
        
        
        
        
        

        
    

  • jdbc.properties文件
#mybatis-generate plugin
db.driverLocation=.../mysql-connector-java-5.1.6.jar
db.driverClassName=com.mysql.jdbc.Driver
db.url=
db.username=
db.password=


#test localhost
jdbc.driverClassName=com.mysql.cj.jdbc.Driver
jdbc.url=
jdbc.username=
jdbc.password=

  • mybatis.xml文件






  • spring.xml文件



    


    

    
    

    
    

    
    
        
        
        
        
    

    
    
        
    
    

    
    
        
        
        
         
    

    
    
        
         
        
    
    


  • springmvc.xml文件



    

    
    

    

    
    
        
        
    

    
    

    
    

    
    
        
            
            
            
        
    



  • web.xml文件



  Archetype Created Web Application

  

  
  
    org.springframework.web.context.ContextLoaderListener
  
  
  
    contextConfigLocation
    
     
  

  
  
    springDispatcherServlet
    org.springframework.web.servlet.DispatcherServlet
    
      contextConfigLocation
      
       
    
    1
  
  
    springDispatcherServlet
    /
  

  • pom文件

  4.0.0
  socialP
  socialPractise
  war
  1.0-SNAPSHOT
  socialPractise Maven Webapp
  http://maven.apache.org

  
    
    
      junit
      junit
      4.11
      test
    

    
    
      javax
      javaee-api
      8.0
      provided
    

    
    
      org.springframework
      spring-web
      4.3.12.RELEASE
    
    
      org.springframework
      spring-webmvc
      4.3.12.RELEASE
    
    
    
      com.fasterxml.jackson.core
      jackson-databind
      2.9.0.pr4
    
    
      com.fasterxml.jackson.core
      jackson-core
      2.9.0.pr4
    
    
      com.fasterxml.jackson.core
      jackson-annotations
      2.9.0.pr4
    

    
    
      org.springframework
      spring-context
      4.3.12.RELEASE
    
    
    
      org.springframework
      spring-jdbc
      4.3.12.RELEASE
    
    
    
      org.aspectj
      aspectjrt
      1.8.11
    
    
      org.aspectj
      aspectjweaver
      1.8.11
    

    
    
      org.mybatis
      mybatis
      3.3.1
    
    
    
      org.mybatis
      mybatis-spring
      1.3.1
    
    
    
      mysql
      mysql-connector-java
      6.0.6
    
    
    
      org.apache.commons
      commons-dbcp2
      2.1.1
    
    
    
      joda-time
      joda-time
      2.3
    
    
    
    
      commons-lang
      commons-lang
      2.6
    

	
    
      commons-io
      commons-io
      2.6
    
    
    
      commons-fileupload
      commons-fileupload
      1.3.3
    
    
    
    
      javax.mail
      javax.mail-api
      1.5.6
    
    
      com.sun.mail
      javax.mail
      1.5.6
    
  

  
    socialPractise
    
      
      
        org.mybatis.generator
        mybatis-generator-maven-plugin
        1.3.2
        
          true
          true
        
      
      
      
        org.apache.maven.plugins
        maven-compiler-plugin
        
          1.8
          1.8
        
      
    
  

你可能感兴趣的:(Java)