学生党可以申请免费使用 IntelliJ IDEA
https://www.jetbrains.com/student
https://www.jetbrains.com/student
2017-10-28
为什么说现在的开发方式都是前后端分离的, 后端直接返回json格式到前台啊 , 我们这边好多都用了各种模板 像什么 juice velocity 等等
2017-10-27
加入spring-boot-starter-data-jpa依赖报错
在pom.xml中右键 -> maven -> reimport
在pom.xml中右键 -> maven -> reimport
2017-10-27
代码:@RestController
public class HellowControl {
@Value("${cupsize}")
private String cupsize;
@Value("${age}")
private int age;
@RequestMapping(value = "/hello", method = RequestMethod.GET)
public String say() {
return cupsize;
}
}
public class HellowControl {
@Value("${cupsize}")
private String cupsize;
@Value("${age}")
private int age;
@RequestMapping(value = "/hello", method = RequestMethod.GET)
public String say() {
return cupsize;
}
}
2017-10-27
启动报错:Error creating bean with name 'hellowControl': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'cupsize' in value "${cupsize}"
2017-10-27