java、intellij idea、groovy
1. 用springboot生成
2.引用去 http://mvnrepository.com/找
问题:
1. “cannot resolve symbol string”问题
First check if you have configured JDK correctly:
- Go to File->Project Structure -> SDKs
- your JDK home path should be something like this: /Library/Java/JavaVirtualMachine/jdk.1.7.0_79.jdk/Contents/Home
- Hit Apply and then OK
Secondly check if you have provided in path in Library's section
- Go to File->Project Structure -> Libraries
- Hit the + button
- Add the path to your src folder
- Hit Apply and then OK
This should fix the problem
2. spring-data-jpa中findOne与getOne的区别
findOne取出的是实体 getOne取出的是实体的引用
1. build.gradle
1.1. dependencies: 依赖jar包
1.2. repositories:发布仓库
1.3. publishing:发布