已采納回答 / 廖師兄
可以先新建一個(gè)工程在工程的pom.xml文件里建一個(gè)<modules> ? ?<module>my-model-1</module></modules>這時(shí)候idea會提示你的,點(diǎn)擊提示會創(chuàng)建一個(gè)新的model以后spring-cloud實(shí)戰(zhàn)課也會說這一點(diǎn)的
2017-01-05
最新回答 / 懶蟲不會學(xué)習(xí)
在pom.xml中添加一個(gè)依賴,<dependency>? <groupId>org.springframework.boot</groupId>? <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency>Controller中一樣的寫法,@RequestMapping("/hello/{name}") public String hello(@P...
2017-01-04
已采納回答 / 廖師兄
看看數(shù)據(jù)庫里是不是就是問號新建數(shù)據(jù)庫的時(shí)候編碼要選擇utf8mb4配置文件里這樣寫url: jdbc:mysql://127.0.0.1:3306/dbgirl?characterEncoding=utf-8
2016-12-29