ssm相关的jar包以及需要主意的点

jar包:



  4.0.0

  com.zrh
  SSMday0926
  1.0-SNAPSHOT
  war

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

  
    UTF-8
    1.7
    1.7
  

  
    
      junit
      junit
      4.12
      test
    
    
      log4j
      log4j
      1.2.16
    
    
    
      org.springframework
      spring-test
      4.3.10.RELEASE
    
    


  mysql
  mysql-connector-java
  5.1.45




  org.mybatis
  mybatis
  3.4.0




  com.alibaba
  druid
  1.0.28




  org.springframework
  spring-context
  4.3.10.RELEASE



  org.springframework
  spring-jdbc
  4.3.10.RELEASE




  org.mybatis
  mybatis-spring
  1.3.0



  org.springframework
  spring-webmvc
  4.3.10.RELEASE





  javax.servlet
  javax.servlet-api
  3.1.0
  provided



  jstl
  jstl
  1.1.2



  taglibs
  standard
  1.1.2



  org.springframework
  spring-test
  4.3.10.RELEASE


<--json-->

  com.fasterxml.jackson.core
  jackson-databind
  2.8.9

  
  
  
    
      
        org.mybatis.generator
        mybatis-generator-maven-plugin
        1.3.5
        
        
          
          
          
          
            mysql
            mysql-connector-java
            5.1.35
          
          
            org.mybatis.generator
            mybatis-generator-core
            1.3.5
          
        
      
    
  


spring-mvc.xml





    

时间转换问题:
两个选一个
@JSONField(format = “yyyy-MM-dd HH:mm:ss”)
@JsonFormat(pattern = “yyyy-MM-dd HH:mm:ss”, timezone=“GMT+8”)
private Date birthday;
//传入的参数
// @DateTimeFormat(pattern = “yyyy-MM-dd”)
public void setBirthday(Date birthday) {
this.birthday = birthday;
}

你可能感兴趣的:(Java,ssm)