如何在 swagger 中要求输入一个http request header 项目 2021年6月9日 | Leave a comment 转:https://www.jianshu.com/p/6d7e71f25fd3 问题: &nb… Read More
@RabbitListener cannot obtain exclusive access to locked queue ‘q_safe_auto_audit’ 2021年6月3日 | Leave a comment 问题: Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=405, reply-text=RESOURCE_LOCKED - cannot obtain exclusive access to locked queue 'q_safe_auto_audit' in vhost 'dev', class-id=50, method-id=10) at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:517) at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:341) at com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:182) at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:114) at com.rabbitmq.client.impl.AMQConnection.readFrame(AMQConnection.java:739) at com.rabbitmq.client.impl.AMQConnection.access$300(AMQConnection.java:47) at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:666) 12345678 Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=405, reply-text=RESOURCE_LOCKED - cannot obtain exclusive access to locked queue 'q_safe_auto_audit' in vhost 'dev', class-id=50, method-id=10) at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:517) at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:341) at com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:182) at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:114) at com.rabbitmq.client.impl.AMQConnection.readFrame(AMQConnection.java:739) at com.rabbitmq.client.impl.AMQConnection.access$300(AMQConnection.java:47) at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:666) &nbs… Read More
主机迁移遇到的docker奇怪问题 2021年4月12日 | Leave a comment 问题: 采用把原来的磁盘做成镜像,迁移后发现 caddy 都正常,个别 docker 网站提示 502 &nb… Read More
io.quarkus:quarkus-resteasy-qute-deployment:jar:1.13.0.Final is missing 2021年4月2日 | Leave a comment 问题: [WARNING] The POM for io.quarkus:quarkus-resteasy-qute-deployment:jar:1.13.0.Final is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 50.125 s [INFO] Finished at: 2021-04-02T10:24:28+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:1.13.0.Final:generate-code (default) on project site: Quarkus code generation phase has failed: Failed to bootstrap the application: Failed to create the application model for idevbox:site::jar:1.0.0-SNAPSHOT: Failed to inject extension deployment dependencies for idevbox:site:jar:1.0.0-SNAPSHOT: No dependencies collected for Quarkus extension deployment artifact io.quarkus:quarkus-resteasy-qute-deployment:jar:1.13.0.Final while at least the corresponding runtime artifact io.quarkus:quarkus-resteasy-qute:jar:1.13.0.Final is expected -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException 1234567891011121314 [WARNING] The POM for io.quarkus:quarkus-resteasy-qute-deployment:jar:1.13.0.Final is missing, no dependency information available[INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 50.125 s[INFO] Finished at: 2021-04-02T10:24:28+08:00[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:1.13.0.Final:generate-code (default) on project site: Quarkus code generation phase has failed: Failed to bootstrap the application: Failed to create the application model for idevbox:site::jar:1.0.0-SNAPSHOT: Failed to inject extension deployment dependencies for idevbox:site:jar:1.0.0-SNAPSHOT: No dependencies collected for Quarkus extension deployment artifact io.quarkus:quarkus-resteasy-qute-deployment:jar:1.13.0.Final while at least the corresponding runtime artifact io.quarkus:quarkus-resteasy-qute:jar:1.13.0.Final is expected -> [Help 1][ERROR][ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR][ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException &nbs… Read More
DEBUG [org.apa.htt.imp.con.PoolingHttpClientConnectionManager] (Connection evictor) Closing expired connections 2021年4月2日 | Leave a comment 问题: DEBUG [org.apa.htt.imp.con.PoolingHttpClientConnectionManager] (Connection evictor) Closing expired connections 1 DEBUG [org.apa.htt.imp.con.PoolingHttpClientConnectionManager] (Connection evictor) Closing expired connections &nbs… Read More
azure DevOps pipeline & sonar 集成备忘 2021年3月31日 | Leave a comment - job: test displayName: 单元测试 dependsOn: dockerimage steps: - task: Maven@3 displayName: 'mvn clean test' inputs: mavenPomFile: 'src/std-provider/pom.xml' goals: test jacoco:report options: '-U -Dmaven.test.failure.ignore=true -Duser.timezone=GMT+8 -Duser.region=CN -Duser.language=zh' publishJUnitResults: true continueOnError: true timeoutInMinutes: 5 - task: SonarQubePrepare@4 inputs: SonarQube: 'sonar_56' scannerMode: 'Other' extraProperties: 'sonar.projectKey=com.telsafe:std-provider' - task: Maven@3 displayName: 'mvn sonar' inputs: mavenPomFile: 'src/std-provider/pom.xml' goals: sonar:sonar options: '-U' sonarQubeRunAnalysis: true continueOnError: true timeoutInMinutes: 5 - task: SonarQubePublish@4 inputs: pollingTimeoutSec: '300' 123456789101112131415161718192021222324252627282930 - job: test displayName: 单元测试 dependsOn: dockerimage steps: - task: Maven@3 displayName: 'mvn clean test' inputs: mavenPomFile: 'src/std-provider/pom.xml' goals: test jacoco:report options: '-U -Dmaven.test.failure.ignore=true -Duser.timezone=GMT+8 -Duser.region=CN -Duser.language=zh' publishJUnitResults: true continueOnError: true timeoutInMinutes: 5 - task: SonarQubePrepare@4 inputs: SonarQube: 'sonar_56' scannerMode: 'Other' extraProperties: 'sonar.projectKey=com.telsafe:std-provider' - task: Maven@3 displayName: 'mvn sonar' inputs: mavenPomFile: 'src/std-provider/pom.xml' goals: sonar:sonar options: '-U' sonarQubeRunAnalysis: true continueOnError: true timeoutInMinutes: 5 - task: SonarQubePublish@4 inputs: pollingTimeoutSec: '300' &… Read More
sonar & jacoco & maven 集成备忘 2021年3月31日 | Leave a comment 问题: sonar 需要导入外部的覆盖报告 解决: 搭建好 sonar 创建好项目 拿到服务器 … Read More