![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java报错
挣钱养狗剩
这个作者很懒,什么都没留下…
展开
-
联调nginx和SpringSecurity时的错
nginx 作为反向代理服务器,导致了在 Spring 中,无法正确获取 scheme 和 host,引起了 redirectUri 无法正确匹配从而认证失败配置Nginx#在对应的location下添加:proxy_set_header HOST $host;proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;proxy_set_header原创 2021-12-15 10:38:44 · 910 阅读 · 0 评论 -
JavaErrors_mybatis中collection的column传值报错
Error instantiating class java.lang.Integer with invalid types () or values (). Cause: java.lang.NoSuchMethodException: java.lang.Integer.()1.背景:mybatis中collection的column传入多个参数值时,报错2. 解决:你一对多关系中的一实体类,对应的Mapper.xml中,sql方法的parameterType一定要是map形式<selec原创 2021-12-02 09:16:06 · 870 阅读 · 0 评论