Java
weixin_39190306
这个作者很懒,什么都没留下…
展开
-
Line argument must contain a key and a value. Only one string token was found.
在看涛哥的Shiro教学书籍中JDBCRealm身份验证中遇到了一个让我捉摸不透的问题,摸索了挺久的,最终发现问题出在乱码上。错误提示如下:org.apache.shiro.config.UnresolveableReferenceException: The object with id [jdbcRealmo] has not yet been defined and therefore cannot be referenced. Please ensure objects are def.原创 2021-02-01 14:15:36 · 145 阅读 · 0 评论 -
pom文件引入Oracle依赖
问题:Missing artifact oracle:ojdbc14:jar:11.1.0.6.0oracle数据库的驱动依赖,maven仓库不提供,所以需要手动添加(安装)到本地仓库命令Mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=11.1.0.6.0 -Dpackaging=jar -Dfile=D:\ojdbc14_11g.jar安装之后在pom文件里添加依赖<dep.原创 2021-01-27 09:51:19 · 1104 阅读 · 0 评论 -
I/O error while reading input message; nested exception is java.io.IOException: Stream closed
踩过的坑:Resolved [org.springframework.http.converter.HttpMessageNotReadableException: I/O error while reading input message; nested exception is java.io.IOException: Stream closed]原因:接口方法中多个参数使用了@RequestBody。@RequestBody与@RequestParam()可以同时使用,@RequestBo原创 2021-01-16 12:45:11 · 2034 阅读 · 0 评论