- 博客(11)
- 资源 (3)
- 收藏
- 关注
原创 设置IDEA的 pom.xml 自动提示
预想效果设置File > Settings > Build, Execution, Deployment > Build Tools > Maven > Repositories 打开如下界面,操作如下图:
2019-12-31 14:34:55 1981 2
原创 java.lang.IllegalArgumentException: There is no PasswordEncoder mapped for the id "null"
问题描述今天使用SpringSecurity配置登录验证,输入密码提示如下错误提示:2019-12-30 14:28:52.534 ERROR 1684 --- [nio-8080-exec-5] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in con...
2019-12-30 15:10:45 479 1
原创 使用Promise封装Ajax()
封装Ajaxlet _ajax = ({method, url, data}) => { return new Promise((resolve, reject) => { $.ajax({ type: method, url: url, data: data, d...
2019-12-27 18:19:18 149
原创 onbeforeunload 使用方法
概述当窗口即将被卸载(关闭)时,会触发该事件.此时页面文档依然可见,且该事件的默认动作可以被取消.语法window.onbeforeunload = funcReffuncRef 是一个函数引用该函数应当将一个说明字符串赋值给Event对象的returnValue属性(兼容旧版浏览器),并且返回该字符串请注意,在Firefox4及其后续版本中,返回的说明字符串并不向用户显示,...
2019-12-26 17:18:58 1622
原创 Jquery Ajax通过接口上传文件实现及注意事项
准备工作文件上传接口:http://localhost:8081/manage/upload/upload_file.do代码实现HTML<form class="form-horizontal" id="resGyForm"> <div class="form-group"> <label for="upload_fil...
2019-12-26 16:50:31 650
原创 Webstorm之ESLint自动修复
ESLint自动修复针对上一篇的errors potentially fixable with the --fix option.报错问题,我提到给你的编辑器里装一个eslint 插件。这一 篇我就说一下这个插件怎么安装我们先看一下安装之后的效果步骤1. 安装插件npm i -g eslint2.安装成功之后打开这个是mac版(提示:mac版打开sittings 的快捷键是com...
2019-12-17 15:05:35 6490 1
原创 errors potentially fixable with the `--fix` option报错的解决
errors potentially fixable with the `--fix` option.新建的vue项目运行时就报错新建的vue项目运行时就报错在用vue-cli3搭建的项目开始进行开发时候,在项目搭建完成之后,每次启动服务时都会弹出编译错误,我就是简单的新建一个index.vue,写了几个标签,发现初次npm run serve不会报错,在浏览器上访问可以显示正常的内容,但只要...
2019-12-17 11:40:04 44601 7
原创 Java GET方式插入数据乱码解决
环境配置JDK版本:1.7OS版本:Win10Tomcat版本:7.0问题描述使用GET方式URL+参数插入数据数据库出现乱码解决办法Tomcat配置文件,server.xml设置URIEncoding="UTF-8"MySQL编码方式与Tomcat保持一致[client]port=3306default-character-set=utf8[mysql]...
2019-12-12 12:47:08 217
原创 ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.2.48' (110)
问题描述今天使用另一台机器连接本地MySQL时候提示:ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.2.48' (110)问题分析网上说,你的MySQL设置了bind_address=127.0.0.1,不允许远程登录。我一想不对啊,前几天还可以登录的 ,肯定不是这个原因,查看 my.cnf 或者my.in...
2019-12-09 10:15:02 2135
原创 简单实现 iframe 全屏显示
需求点击全屏按钮,让页面iframe全屏展示点击退出全屏按钮,让页面iframe退出全屏代码实现HTML代码实现<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" conte...
2019-12-06 19:10:29 14693 1
原创 Application Server was not connected before run configuration stop, reason: Unable to ping…解决办法
环境配置window10jdk-7u80apache-tomcat-9.0.11问题描述今天通过idea 运行java项目提示:Application Server was not connected before run configuration stop, reason:Unable to ping server at localhost:1099问题原因jdk版本t...
2019-12-03 13:56:00 3540 3
mybatis-generator-core 生成代码
2020-09-18
generator.rar
2020-01-09
管理wnmp环境bat.rar
2019-10-31
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人