[Solved] java.lang.ExceptionInInitializerError(Exception initialization error)

D:\JAVA_JDK\jdk_8\bin\java.exe -ea -Didea.test.cyclic.buffer.size=1048576 “-javaagent:D:\IDEA\IntelliJ IDEA 2021.3\ lib\idea_rt.jar=61343:D:\IDEA\IntelliJ IDEA 2021.3\bin” -Dfile.encoding=UTF-8 -classpath “D:\IDEA\IntelliJ IDEA 2021.3\lib\ \idea_rt.jar;D:\IDEA\IntelliJ IDEA 2021.3\plugins\junit\lib\junit5-rt.jar;D:\IDEA\IntelliJ IDEA 2021.3\plugins\junit\ lib\junit-rt.jar;D:\JAVA_JDK\jdk_8\jre\lib\charsets.jar;D:\JAVA_JDK\jdk_8\jre\lib\deploy.jar;D :\JAVA_JDK\jdk_8\jre\lib\ext\access-bridge-64.jar;D:\JAVA_JDK\jdk_8\jre\lib\ext\cldrdata.jar;D :\JAVA_JDK\jdk_8\jre\lib\ext\dnsns.jar;D:\JAVA_JDK\jdk_8\jre\lib\ext\jaccess.jar;D:\JAVA_JDK \jdk_8\jre\lib\ext\jfxrt.jar;D:\JAVA_JDK\jdk_8\jre\lib\ext\localedata.jar;D:\JAVA_JDK\jdk_8\ \jre\lib\ext\\ ashorn.jar;D:\JAVA_JDK\jdk_8\jre\lib\ext\sunec.jar;D:\JAVA_JDK\jdk_8\jre\ lib\ext\sunjce_provider.jar;D:\JAVA_JDK\jdk_8\jre\lib\ext\sunmscapi.jar;D:\JAVA_JD K\jdk_8\jre\lib\ext\sunpkcs11.jar;D:\JAVA_JDK\jdk_8\jre\lib\ext\zipfs.jar;D:\JAVA_JDK\jdk_8 \jre\lib\javaws.jar;D:\JAVA_JDK\jdk_8\jre\lib\jce.jar;D:\JAVA_JDK\jdk_8\jre\lib\jfr. jar;D:\JAVA_JDK\jdk_8\jre\lib\jfxswt.jar;D:\JAVA_JDK\jdk_8\jre\lib\jsse.jar;D:\JAVA_JDK\jdk_8 \jre\lib\management-agent.jar;D:\JAVA_JDK\jdk_8\jre\lib\plugin.jar;D:\JAVA_JDK\jdk_8\jre\lib\ resources.jar;D:\JAVA_JDK\jdk_8\jre\lib\rt.jar;E:\java(idea)project\Mybatis3\mybatis-06\target\test-classes; E:\java(idea)project\Mybatis3\mybatis-06\target\classes;E:\Environment\apache-maven-3.8.4\maven-repo\mysql\mysql- connector-java\8.0.11\mysql-connector-java-8.0.11.jar;E:\Environment\apache-maven-3.8.4\maven-repo\com\google\protobuf \protobuf-java\2.6.0\protobuf-java-2.6.0.jar;E:\Environment\apache-maven-3.8.4\maven-repo\org\mybatis\mybatis \3.5.2\mybatis-3.5.2.jar;E:\Environment\apache-maven-3.8.4\maven-repo\junit\junit\4.12\junit-4.12.jar ;E: \Environment\apache-maven-3.8.4\maven-repo\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;E:\Environment\apache- maven-3.8.4\maven-repo\org\projectlombok\lombok\1.18.22\lombok-1.18.22.jar” com.intellij.rt.junit.JUnitStarter -ideVersion5 -junit4 Test, testStudent Logging initialized using ‘class org.apache.ibatis.logging.stdout.StdOutImpl’ adapter. PooledDataSource forcefully closed/removed all connections. PooledDataSource […]

[Solved] php_json_decode_ex —– redis error

php 7.4 redis redis-5.0.7 php-redis redis-5.0.0 make test appears PHP Warning: PHP Startup: Unable to load dynamic library ‘redis’ (tried: /usr/local/phpredis/modules/redis (/usr/local/phpredis/modules/redis: cannot open shared object file: No such file or directory), /usr/local/phpredis/modules/redis.so (/usr/local/phpredis/modules/redis.so: undefined symbol: php_json_decode_ex)) in Unknown on line 0 Or restart php-fpm and it will appear [17-Jan-2020 16:55:13] NOTICE: PHP message: PHP […]

[Solved] Internal Server Error The server encountered an internal error or misconfiguration and was una…

I set up a personal eyoucms test environment at home. During the installation, the front was very smooth, but at the back, the following error was reported all the time, which was a headache. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the […]

[Solved] When running the project, I get: Web server failed to start. Port 8888 was already in use. Error

The following error message appears when running the project in idea: Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled. 2022-03-02 11:15:03.866 ERROR 10600 — [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter : **************************** APPLICATION FAILED TO START **************************** Description: Web server failed to start. Port 8888 was already in use. Action: Identify and […]

[Solved] mybatis exception Parsing error was found in mapping #{} placeholder error solution

1. There is sql concatenation of ‘#{‘ string query When splicing, distinguish between ‘#’ and ‘{‘ to prevent it from being recognized as a ‘#{‘ placeholder concat(‘#’,'{‘,tab.key,’}’) Error example: concat(‘#{‘,tab.key, ‘}’) xxxMapper.xml code: select *table1 t1 left join table2 t2 on t1.key = concat(‘#’,'{‘,t2.key , ‘}’) 2. Others: the difference between mybatis’ #{} placeholder and […]

[Solved] JAVA-service startup error The last packet sent successfully to the server was 0 milliseconds ago.

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:989) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:341) at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2196) at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2229) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2024) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:779) at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) at […]

[Solved] git error: Connection was reset, errno 10054

git clone has an error: I thought it was a network problem at first, but later found it was because The SSL certificate of the github server has not been signed by a third-party organization, just delete the SSL verification: git config –global http.sslVerify “false”