• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

yxchun

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

上一页 1 2 3 4 5 6 7 8 9 10 ··· 31 下一页

2024年8月19日

sonarqube如何创建maven项目进行扫描

摘要: 1)创建一个maven项目 2) 填写名称 3)扫描本地项目 4)生成 5)继续 6)复制命令 7)进行扫描 进入到你项目所有的目录,pom.xml那一层级; 使用命令,去掉换行符 \ , -f pom_xxxx.xml写你自己的项目 mvn clean verify sonar:sonar -Ds 阅读全文

posted @ 2024-08-19 10:30 yxchun 阅读(401) 评论(0) 推荐(0)

SonarQube使用新增的自定义规则,进行maven项目扫描

摘要: 1、将新加规则添加到Quality Profiles中 2、创建 , 写完名称回车 3、暂时将原先的规则禁用掉 点击apply; 499条规则被更改 4、添加我们新增的自定义规则 应用 规则已经添加; 将我们创建的规则设置为默认扫描规则 5、进行项目扫描 1)创建一个maven项目 2) 填写名称 阅读全文

posted @ 2024-08-19 10:29 yxchun 阅读(907) 评论(0) 推荐(0)

Sonarqube 自定义规则,部署SonarSource / sonar-java源码中示例规则:docs/java-custom-rules-example

摘要: 自定义规则,可以参考sonar-java/docs/CUSTOM_RULES_101.md at 8.0.0.36314 · SonarSource/sonar-java · GitHub 1、下载一份sonarqube源码,配置好本地的环境,JDK17和maven docs/java-custom 阅读全文

posted @ 2024-08-19 10:00 yxchun 阅读(2053) 评论(0) 推荐(0)

2024年8月11日

SonarQube启动时,elasticsearch 报错 with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max_local_storage_nodes] (was [1])

摘要: 报错: 查看elasticsearch 日志,在安装位置\sonarqube-9.9.6.92038\logs\es.log 2024.08.11 18:14:45 ERROR es[][o.e.b.ElasticsearchUncaughtExceptionHandler] uncaught ex 阅读全文

posted @ 2024-08-11 18:35 yxchun 阅读(472) 评论(0) 推荐(0)

Windows ,elasticsearch 启动报错 failed to obtain node locks

摘要: 报错: 2024.08.11 18:14:45 ERROR es[][o.e.b.ElasticsearchUncaughtExceptionHandler] uncaught exception in thread [main] org.elasticsearch.bootstrap.Startu 阅读全文

posted @ 2024-08-11 18:32 yxchun 阅读(645) 评论(1) 推荐(0)

sonarqube-9.9.6.92038 安装与启动 , Windows11

摘要: 使用JDK17,并且9000端口没有被占用 使用默认H2数据库,那么conf/sonar.properties不需要修改,一句都不要改; 下载链接:Download | SonarQube | Sonar (sonarsource.com) 解压后: 运行/ 启动: 启动成功 访问:http://l 阅读全文

posted @ 2024-08-11 16:49 yxchun 阅读(277) 评论(0) 推荐(0)

SonqrQube启动报错,解决方法

摘要: 环境JDK21; SonqrQube版本:sonarqube-9.9.6.92038 如何解决: 将JDK换成17 阅读全文

posted @ 2024-08-11 16:26 yxchun 阅读(40) 评论(0) 推荐(0)

2024年8月7日

HSSFColor.HSSFColorPredefined 颜色分类

摘要: 原文:https://blog.csdn.net/shanghaojiabohetang/article/details/51837242 阅读全文

posted @ 2024-08-07 09:40 yxchun 阅读(215) 评论(0) 推荐(0)

2024年8月6日

发送get请求报错, Exception in thread "main" java.lang.IllegalArgumentException: Illegal character in query at index 103

摘要: 处理url,发送get请求时报错; 解决方法:利用 URLEncoder.encode("参数","UTF-8");方法对参数进行转化 String paramAfter = URLEncoder.encode("参数","UTF-8");然后再将 paramAfter 拼接到url里面; url 阅读全文

posted @ 2024-08-06 14:56 yxchun 阅读(168) 评论(0) 推荐(0)

2024年7月31日

object 转为JSONobject, JSONobject转为map,json数组转为JSONArray

摘要: object 转为JSONobject, 使用fastjson JSONObject jsonObject = (JSONObject) JSONObject.toJSON(valueObject); JSONobject转为map JSONObject jsonObject = (JSONObje 阅读全文

posted @ 2024-07-31 15:50 yxchun 阅读(710) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 10 ··· 31 下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3