- 博客(13)
- 资源 (1)
- 收藏
- 关注
原创 解决javascript heap out of memory
angular项目打包时经常javascript heap out of memory只需2步:1.package.json里增加--max_old_space_size=50482.npm run build-prod这样设置才有效
2018-11-16 09:55:42 17376
转载 强迫症福利---去掉IDEA中mybatis对应的xml文件警告
烦人的mybatis xml文件警告终于给弄没了只需三步一、去掉 No data sources configure 警告Prefernces ⇒ Editor ⇒ Inspections ⇒ SQL ⇒ No data sources configure。 取消勾选,去掉这个检查,然后点击 OK 按钮即可二、去掉 SQL dialect is not configured 警...
2018-08-11 16:05:02 8566 2
原创 忘了mysql密码怎么办
修改root密码进入mysql客户端后,mysql> use mysql;Database changedmysql> update user set password=password('new password') where user='root';Query OK, 4 rows affected (0.00 sec)Rows matched: 4 C...
2018-07-31 21:18:04 343 4
原创 maven安装本地jar
ojdbc7-12.1.0.2.jar放在D盘下执行以下命令mvn install:install-file -Dfile=D:\ojdbc7-12.1.0.2.jar -DgroupId=com.oracle -DartifactId=ojdbc7 -Dversion=12.1.0.2 -Dpackaging=jar -DgeneratePom=true pom.xml配置...
2018-07-31 16:20:07 501
原创 Spring集成MQ时报错:AopProxyUtils.getSingletonTarget(Ljava/lang/Object;)Ljava/lang/Object;
pom.xml <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.7</maven.compiler.source> <maven.comp...
2018-07-23 15:25:43 818
原创 typescript控制浏览器全屏
fullScreen() { document.getElementById("fullScreen").style.display = "none"; document.getElementById("exitScreen").style.display = "block"; let el = document.documentElement as any; let rf...
2018-05-28 09:20:50 1516
原创 GitHub上传、更新代码
一、上传代码首先 github 上注册账号并new respository 去新建一个文件夹,右键在文件夹内右击选择Git Bash Here, 然后复制第一大段代码进去执行,echo "# test" >> README.mdgit initgit add README.mdgit commit -m "first commit"git remote add origin g...
2018-03-30 16:45:34 2013
原创 leaflet和minimap切换时图层保持一致
大地图切换图层小地图随之切换一、定义小地图源const gaodeMini = L.tileLayer('http://webrd0{s}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}', { maxZoom: 13, subdomains...
2017-12-26 18:56:19 4116 1
原创 Cannot read property 'glob' of null
angular启动项目时报错 Cannot read property 'glob' of null解决方法C:\Users\用户名 文件夹下删除angular-cli文件 比如 .angular-cli.json再重新安装启动
2017-12-20 08:56:44 738
原创 创建视图时报 insufficient privileges 错误怎么办
如图,创建视图时出错原因是scott用户没有权限于是用sys登陆,发现用户名密码不对,于是去修改用户密码1.cmd下输入 sqlplus /nolog;2.conn / as sysdba;3.select username,account_status from dba_users;4.找到用户名 alter u
2017-09-27 15:10:35 2925
原创 一道笔试题,来源牛客
mysql数据库,game_order表表结构如下,下面哪些sql能使用到索引()(多选)?A. select * from game_order where plat_game_id=5 and plat_id=134B. select * from game_order where plat_id=134 and plat_game_id=5 and plat_
2017-09-08 10:09:20 556
原创 异常:Invalid character found in the request target. The valid characters are defined in RFC 3986
在做一个导出功能时,点击导出按钮导出失败,后台报这个错误: 信息: Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.java.lang.IllegalArgumentException: Inva...
2017-09-05 16:35:57 5291 1
apache-tomcat-7.0.41_x64.rar
2017-09-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人