随笔分类 - SpringBoot
摘要:#tomcat配置: server.port=8081 #servlet: server.servlet.context-path=/springboot 或server.servlet.context-path=/(前缀) #配置视图解析器 spring.mvc.view.prefix=/(前缀)
阅读全文
摘要:@ConfigurationProperties 注解出现警告问题 pom.xml <!-- 解决使用@ConfigurationProperties 注解出现警告问题--> <dependency> <groupId>org.springframework.boot</groupId> <arti
阅读全文