The conflict between bcprov-jdk15to18 and other bcprov version jar packages (different versions of jars are compatible) is resolved, and the conflict with Dongfangtong bcprov-jdk15on.jar is resolved

Foreword The project needs to integrate a new SDK for service calls. It was developed and debugged locally using Tomcat. However, when updated to the server, it failed and the service could not be started. Error SecurityException: JCE cannot authenticate the provider BC. After replacing the jar with the same version as Dongfangtong, another error […]

Android calls jar principle through bin binary program

Recently, I was studying monkey testing and found that the codes for monkey testing are all written in JAVA. The jar package is generated through compilation. When we execute the test, we directly execute the /system/bin/monkey binary program. So how can it call up java? What about the program? Let’s first look at the generation […]

Tomcat startup project exception Failed to initialize component [org.apache.catalina.webresources.JarResourceSet

Tomcat startup project exception Failed to initialize component [org.apache.catalina.webresources.JarResourceSet Exception information: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@28e39c9d] at java.util.concurrent.FutureTask.report(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:942) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:833) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1427) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1417) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@28e39c9d] at […]

Springboot project log4j and logback Jar package conflict problem

Exception information keywords: SLF4J: Class path contains multiple SLF4J bindings. ERROR in ch.qos.logback.core.joran.spi.Interpreter@24:14 – no applicable action for [properties], current ElementPath is [[configuration][properties]] Detailed exception information: Connected to the target VM, address: ‘127.0.0.1:52687’, transport: ‘socket’ SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C:/Users/xx/.m2/repository/ch/qos/logback/logback-classic/1.2.11/logback-classic-1.2.11.jar!/org/ slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/Users/xx/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.17.2/log4j-slf4j-impl-2.17.2 .jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: […]

Jenkins pipeline implements xjar reinforcement

Jenkins pipeline implements xjar reinforcement Definition of xjar Spring Boot JAR is a secure and encrypted running tool, and also supports native JAR. A set of program encryption startup and dynamic decryption running solutions built based on the encryption of resources in the JAR package and the expansion of ClassLoader to avoid source code leakage […]

license-service authorized encrypted jar package

license-service authorized encrypted jar package Reference blogger I want to raise one! https://blog.csdn.net/weixin_45151960/article/details/128262535 After the software project is deployed on the client server, in order to control the project copyright or charge for authorization of the project, it is necessary to implement project authorization and license verification. What is explained here is the use of […]

What you have to play with maven – dependency scope, transfer, inheritance, aggregation, jar package conflicts…

One dependency scope 1.1 Range List compile: Commonly used jar packages of third-party frameworks such as jar packages that are actually used when the project is actually run are all dependent on the compile scope. Two maven transfers 2.1 The role of dependency Under the premise that A depends on B and B depends on […]

Logstash configures the mysql data source. Mysql-connector-java-8.0.13.jar does not have read permission or does not load data.

Logstash configures mysql data source, mysql-connector-java-8.0.13.jar does not have read permission [2023-09-19T11:44:11,226][ERROR][logstash.javapipeline][main][63a9fa48345e7ff6aa5948ba8c28fc5cf05d96b9dd7e1d35dd28429202350ad3] A plugin had an unrecoverable error. Will restart this plugin. Pipeline_id:main Plugin: <LogStash::Inputs::Jdbc jdbc_user=>”root”, schedule=>”0 1 * * *”, jdbc_password=><password>, statement=>”SELECT * FROM *** “, jdbc_driver_library=>”mysql-connector-java-8.0.13.jar”, jdbc_connection_string=>”jdbc:mysql://127.0.0.1:3306/***?useUnicode=true &characterEncoding =UTF-8 & serverTimezone=UTC & useSSL=false & allowMultiQueries=true”, id=>”63a9fa48345e7ff6aa5948ba8c28fc5cf05d96b9dd7e1d35dd28429202350ad3″, jdbc_driver_class=>”com. mysql.cj.jdbc.Driver” , enable_metric=>true, codec=><LogStash::Codecs::Plain id=>”plain_5b2c39bc-2e29-46d5-a23c-26a60bc31ab8″, enable_metric=>true, […]

Android development componentization_add/import/delete Module project operations and set the Libs Jar of the Module project to use in the main project…

Foreword The Module project, as the name suggests, is a project that serves as an independent unit module of the app. In a small app project, there are not so many pages and Java files, so the module is of little significance. Therefore, in a small project, the meaning is more for managing libs. After […]