2020年7月31日

摘要: 问题: 配置好nginx负载均衡后,访问项目,发现也没的静态资源无法访问 解决: 修改nginx.conf 文件,如下图,从第二行开始换掉即可 阅读全文
posted @ 2020-07-31 16:22 arsn 阅读(2389) 评论(0) 推荐(0) 编辑

2020年5月5日

摘要: idea Debug 报错 : Method breakpoints may dramatically slow down debugging debug 被卡住 打开Breakpoints面板看看,(快捷键:Ctrl - Shift -F8 ),将 java Method Breakpoints 阅读全文
posted @ 2020-05-05 09:40 arsn 阅读(262) 评论(0) 推荐(0) 编辑

2020年4月18日

摘要: 一. 运行环境springboot+mybatis+mysql+security+jsp 二. 前台登录页面代码 <form class="form form-horizontal" id="loginForm" action="login" method="post"> <div class="r 阅读全文
posted @ 2020-04-18 11:28 arsn 阅读(2224) 评论(0) 推荐(0) 编辑

2020年4月16日

摘要: 报错代码提示: java.lang.UnsupportedOperationException: null 1.错误原因 result 返回类型错误,resultType返回的类型是每条数据的数据类型 <select id="selectAllCostTotalMoney" resultType=" 阅读全文
posted @ 2020-04-16 10:29 arsn 阅读(5484) 评论(1) 推荐(0) 编辑

2020年4月13日

摘要: 一.项目结构 1.父项目pom结构,三个子项目,分别是pojo,mapper,cost 2.子项目pom分别如下依赖 >1. cost模块 >2. mapper模块 二. 配置plugin插件 1.删除所有模块块下的所有plugin插件(不能在父模块pom下加plugin插件,不然会出现找不到包之类 阅读全文
posted @ 2020-04-13 14:19 arsn 阅读(575) 评论(0) 推荐(0) 编辑

2020年4月12日

摘要: springboot security 项目通过链接打开一个新的页面时,出现 in a frame because it set 'X-Frame-Options' to 'deny' 错误,如下图所示 解决方法: //防止iframehttp.headers().frameOptions().di 阅读全文
posted @ 2020-04-12 10:30 arsn 阅读(3006) 评论(0) 推荐(0) 编辑

2020年4月2日

摘要: springboot 整合jsp 项目,由于springboot自带有tomcat,然后自己引入的版本和其自带的不一致导致出现此问题 解决办法如下: 只需要在Dependencies下找到自己引入的tomcat,比如我自己引入的是7.0.59,展开后下面9.0.33是springboot自带的,将版 阅读全文
posted @ 2020-04-02 15:25 arsn 阅读(763) 评论(0) 推荐(0) 编辑

2020年4月1日

摘要: $(...).dataTable is not a function 问题: 1. JS是解释型语言,是根据标签引用分块顺序执行的 2. $是jQuery中的产生的对象,需要用的话,必须将jquery.js文件放在使用它的JS前面 如下是可能产生问题的4种情况: 1. 当引入的js里面undefin 阅读全文
posted @ 2020-04-01 15:35 arsn 阅读(1817) 评论(0) 推荐(0) 编辑

2020年3月30日

摘要: 关于spring boot 集成 jsp 出现的如下问题: There was an unexpected error (type=Not Found, status=404). /WEB-INF/jsp/index.jsp 解决的方法总结如下: 聚合模块(POM)下,如果出现如上故障 : 1.先检 阅读全文
posted @ 2020-03-30 20:44 arsn 阅读(11792) 评论(0) 推荐(4) 编辑

2020年3月21日

摘要: 随笔,记录错误! 错误提示: > 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to u 阅读全文
posted @ 2020-03-21 20:58 arsn 阅读(6185) 评论(1) 推荐(2) 编辑

导航