https://docs.spring.io/spring-boot/docs/2.0.2.RELEASE/reference/html/common-application-properties.html 這個網址把你的spring-boot版本換成對應的,可以查看你當前版本的對應的應用配置信息
2018-06-13
已采納回答 / 慕運維3456355
如果創建成功,應該會返回一個對象的list。你這個很大可能是沒有成功創建對象。建議在yml文件里面增加showsql參數,把操作sql打印到控制臺,看一下sql再確定問題。
2018-06-12
已采納回答 / 世俗紅塵
還需要pom里添加<dependency>? ? ? ? ? ? <groupId>org.springframework.boot</groupId>? ? ? ? ? ? <artifactId>spring-boot-starter-thymeleaf</artifactId>? ? ? ? </dependency>
2018-06-12
老師,新建項目時,報錯URL拒絕,但至今訪問地址,卻是可以訪問的,請老師指導一下,我剛開始就卡住了 (┬_┬)~
Initialization failed for 'https://start.spring.io'
Please check URL, network and proxy settings.
Error message:
Cannot download 'https://start.spring.io': Status: 403
Initialization failed for 'https://start.spring.io'
Please check URL, network and proxy settings.
Error message:
Cannot download 'https://start.spring.io': Status: 403
2018-06-12