
idea
Lewis-q398529803
这个作者很懒,什么都没留下…
展开
-
阿里云数据库连接池druid警告的去除
1 问题WARN 23264 --- [SchedulerThread] c.a.druid.pool.DruidAbstractDataSource : discard long time none received connection. , jdbcUrl : ......当程序出现一堆此类的警告,对于强迫症是多恶心的一件事。2 解决方法2.1如果你正在使用命令行启动,可以直接使用本命令:nohup java -Ddruid.mysql.usePingMethod=false -ja原创 2022-04-01 14:14:13 · 2229 阅读 · 0 评论 -
IDEA清除所有空行
简介就是为了清除空行,倒也没啥简介教程思路:正则表达式,替换。ctrl+R 输入\n\n原创 2022-01-27 17:30:54 · 1158 阅读 · 0 评论 -
IDEA清除注释
需求查到这个的就是为了清除所有的注释,任何原因都没必要纠结。教程首先思路是使用正则表达式,然后是使用ctrl+shift+R进行全局替换,简单粗暴。正则:(/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+/|[ \t]*//.*)这里面的空行是需要的,也就是回车,毕竟正规的注释写法,通常是会写在代码之上的。...原创 2022-01-27 17:27:53 · 1744 阅读 · 0 评论 -
Intellij IDEA运行报Command line is too long解法
1 报错内容Error running ‘ServiceStarter’: Command line is too long. Shorten command line for ServiceStarter or also for Application default configuration.2 解决方法修改项目下.idea\workspace.xml,找到标签 <component name="PropertiesComponent">, 在标签里加一行 <property原创 2021-03-16 14:18:43 · 140 阅读 · 0 评论 -
Idea运行报错Error running ‘Application‘: Command line is too long的解决方法
1 问题新项目再Idea里面启动的时候,有的时候报错Error running ‘Application’: Command line is too long. Shorten command line for Application or aalso for Spring Boot default configuration,报错信息如下所示:2 解决问题首先找到项目里面的idea/workspace.xml文件,然后再找到<component name="PropertiesCompone原创 2021-05-21 17:11:51 · 678 阅读 · 0 评论