Mud*_*uli 3 gradle spring-boot
我的构建gradle看起来像这样
buildscript {
    repositories {
        maven { url "http://repo.spring.io/libs-milestone" }
        mavenLocal()
    }
    dependencies {
        classpath("org.springframework.boot:spring-boot-gradle-plugin:1.0.0.RC5")
    }
}
configurations {
    jasper
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'
apply plugin: 'war'
war {
    baseName = 'foo-serving-web-content'
    version =  '0.1.1'
}
repositories {
    mavenCentral()
    maven { url "http://repo.spring.io/libs-milestone" }
}
dependencies {
    compile("org.springframework:spring-webmvc:4.0.0.M2")
    compile("org.springframework.boot:spring-boot-starter-web")
    compile("javax.servlet:javax.servlet-api:3.1.0")
    compile("javax.servlet:jstl:1.1.2")
    testCompile("junit:junit")
}
task wrapper(type: Wrapper) {
    gradleVersion = '1.11'
}
现在问题是我的jsps没有被渲染,只是简单的XML.我发现这篇帖子有人有问题,但他们正在使用maven.
JSP文件无法在Spring Boot Web应用程序中呈现
我的build.gradle有什么问题吗?
| 归档时间: | 
 | 
| 查看次数: | 4194 次 | 
| 最近记录: |