异常处理
丁racy
自律
展开
-
nested exception is org.apache.ibatis.exceptions.TooManyResultsException
nested exception is org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 2原因是:在使用pagehelp的时候把mpper.xml返回的list值用pageinfo接收,所以...原创 2019-06-21 00:05:33 · 7703 阅读 · 0 评论 -
Property [name] not found on type [java.lang.String]
在jstl标签属性中的""中间不能有空格原正确原创 2019-06-21 00:09:05 · 752 阅读 · 0 评论 -
Cause: java.lang.IllegalArgumentException: invalid comparison: java.util.Date and java.lang.String]
异常原创 2019-07-03 19:26:37 · 402 阅读 · 0 评论 -
Shiro异常:There is no filter with name
异常:java.lang.IllegalArgumentException: There is no filter with name 'anon/dologin.html=anon/static/**=anon/**=authc' to apply to chain [/login.html] in the pool of available Filters. Ensure a filter...原创 2019-06-29 11:19:04 · 2114 阅读 · 0 评论 -
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could
***************************APPLICATION FAILED TO START***************************Description:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could b...原创 2019-07-21 16:41:47 · 103 阅读 · 0 评论 -
把xml文件放进java中后,打成war包失败。
<finalName>ROOT</finalName> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactI...原创 2019-08-02 13:14:13 · 186 阅读 · 0 评论