读spring in action. 

  1.  环境搭建
  2. quick-start依赖注入
  3. 面向切面
  • jdk1.8
  • gradle 2.12
  • Intelij idea 2016.2.1

spring in action 4th ---  quick start

1.1创建一个gradle项目

在idea中,new -> project -> gradle 创建一个空项目。创建成功后修改build.gradle :

group 'com.test'
version '1.0-SNAPSHOT'

apply plugin: 'java'
apply plugin: 'war'

sourceCompatibility = 1.8
targetCompatibility = 1.8

repositories {
    mavenLocal()
    mavenCentral()
}

dependencies {
    testCompile group: 'junit', name: 'junit', version: '4.11'
    
}
View Code

相关文章:

  • 2022-03-10
  • 2021-11-20
  • 2021-11-02
  • 2021-09-12
  • 2021-12-14
  • 2021-05-12
  • 2021-10-31
  • 2021-07-22
猜你喜欢
  • 2021-06-26
  • 2021-06-15
  • 2022-01-16
  • 2021-12-22
  • 2021-12-02
  • 2021-08-14
相关资源
相似解决方案