2020年4月23日

38-thymeleaf中for循环不出提示?

摘要: 主要原因就是我们的泛型问题,虽说不提示,但是并不会真正影响运行 阅读全文

posted @ 2020-04-23 19:24 十年磨三劍 阅读(433) 评论(0) 推荐(0) 编辑

151-springboot如何配置服务器的端口号与上下文路径

摘要: #设置内嵌Tomcat端口号 :server.port=9090 #配置项目上下文根: server.servlet.context-path=/003-springboot-port-context-path 阅读全文

posted @ 2020-04-23 17:44 十年磨三劍 阅读(501) 评论(0) 推荐(0) 编辑

150-thymelefe的相关配置文件

摘要: 这个配置文件也是写在springboot中的主配置文件中的#关闭thymeleaf模版引擎缓存开关spring.thymeleaf.cache=false#设置Thymeleaf模版引擎的前后缀,这也是默认的配置文件spring.thymeleaf.prefix=classpath:/templat 阅读全文

posted @ 2020-04-23 17:07 十年磨三劍 阅读(125) 评论(0) 推荐(0) 编辑

088-log日志文件打印?

摘要: 1.login需要一个插件lombok 2.log直接就使用了,并没有创建对象,应该是因为我们的注解 @Controller @Slf4j public class UserController { @Autowired private StudentService studentService; 阅读全文

posted @ 2020-04-23 09:07 十年磨三劍 阅读(135) 评论(0) 推荐(0) 编辑

导航