摘要: 这是在spring boot/MVC 中出现的一个异常原因:当没有声明ViewResolver时,spring会注册一个默认的ViewResolver,就是JstlView的实例, 该对象继承自InternalResoureView。JstlView用来封装JSP或者同一Web应用中的其他资源,它将 阅读全文
posted @ 2019-05-20 14:48 长袖保暖 阅读(3055) 评论(0) 推荐(0) 编辑
摘要: org.apache.catalina.LifecycleException: Protocol handler initialization failed Caused by:java.net.BindException:Address already in use 错误出现,端口被占用了,在配置 阅读全文
posted @ 2019-05-20 14:04 长袖保暖 阅读(4499) 评论(0) 推荐(0) 编辑
摘要: 错误:Validates unresolved references and invalid expressions idea在thymeleaf页面编写变量,如${list}会抛出错误,网上一些解决办法为ctrl + enter添加注入注释,觉得稍为繁琐,而且变量多的话代码看起来很不整洁,所以选择 阅读全文
posted @ 2019-05-20 14:00 长袖保暖 阅读(3782) 评论(0) 推荐(0) 编辑
摘要: 转:https://blog.csdn.net/hzhsan/article/details/9719307 它执行的时候,你不会有什么感觉。commit在数据库编程的时候很常用,当你执行DML操作时,数据库并不会立刻修改表中数据,这时你需要commit,数据库中的数据就立刻修改了,如果在没有com 阅读全文
posted @ 2019-05-20 08:46 长袖保暖 阅读(12550) 评论(0) 推荐(1) 编辑