![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Debug
ObsessionLife
这个作者很懒,什么都没留下…
展开
-
[Debug] - No.2 Neither BindingResult nor plain target object for bean异常
在使用thymeleaf实现Spring Boot 表单时,在进入表单的页面中始终出现: java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name "company" available as request attribute 原因:由于在表单中使用了 th:o原创 2017-05-17 20:50:41 · 603 阅读 · 0 评论 -
[Debug] - No.3 Thymeleaf 没有返回html只返回字符串
在使用Thymeleaf的时候,@RequestMapping对应的函数没有返回html文件而是返回了这个函数对应的字符串返回值 解决办法: 删除这个函数前面的@Responsebody注解,这个注解会返回Mapping函数指定的返回类型、例如String。而不是将其解析为html文件原创 2017-05-18 09:13:34 · 2492 阅读 · 0 评论 -
[Debug] - No.1 JSP传入字符串不加载
在我之前使用Spring Security编写项目的过程中,我希望获取当前用户姓名然后在前端显示欢迎界面。在后台我将该用户信息在控制台输出时可以显示的,但是传入modelView对应变量以后,却不能在前端正确显示。 例如,我希望将用户名称注入JSP中的 ${user},但是在前端只能显示${user},而不显示用户名。 问题原因: JSP 2.0的一个主要特点是它支持表达语言(express原创 2017-03-17 14:11:10 · 379 阅读 · 0 评论 -
[Debug] - No.4 Python 3.5 安装Opencv
Anaconda python3.5的环境中安装python-opencv失败在cmd中使用pip安装python-opencv pip install python-opencv 出现以下报错信息 Collecting python-opencv Could not find a version that satisfies the requirement python-open原创 2018-01-14 15:18:52 · 2228 阅读 · 0 评论