在哪个文件中我们在gradle中添加依赖项?就像使用maven时一样,我们可以在pom.xml中添加依赖项

时间:2018-05-20 16:35:34

标签: spring maven spring-boot gradle intellij-idea

我有这段代码:

 ggseasonplot(cw_ts, polar=TRUE) +
+   ylab("") +
+   ggtitle("Polar seasonal plot: Pump parameter")
Error in ggseasonplot(cw_ts, polar = TRUE) : Data are not seasonal
> 

导入后,我收到错误

  

无法解析符号requestMapping

我无法解决这个问题 有人可以提出解决方案吗?

1 个答案:

答案 0 :(得分:4)

在build.gradle文件中添加依赖项。

dependencies {
    compile('org.springframework.boot:spring-boot-starter-actuator')
    compile('org.springframework.boot:spring-boot-starter-web')
    testCompile('org.springframework.boot:spring-boot-starter-test')
}
相关问题