摘要:Description Resource Path Location Type org.codehaus.plexus.archiver.jar.Manifest.write(java.io.PrintWriter) pom.xml /gs-rest-service line 1 Maven Con
阅读全文
摘要:https://www.cnblogs.com/zno2/p/16353014.html 借助 java -jar -Xbootclasspath/a:D:\conf testcp.jar import java.io.IOException; import java.lang.management
阅读全文
摘要:jls 12.8 中 jvm终止需要满足以下两个任意一个:All the threads that are not daemon threads terminate. (全部非守护进程终止)Some thread invokes the exit method of class Runtime or
阅读全文
摘要:https://docs.spring.io/spring-boot/docs/2.3.9.RELEASE/reference/html/spring-boot-features.html#boot-features-application-events-and-listeners 引子 Sprin
阅读全文
摘要:资料 https://docs.spring.io/spring-boot/docs/2.2.2.RELEASE/reference/html/howto.htmlhttps://docs.spring.io/spring-boot/docs/1.2.1.RELEASE/reference/html
阅读全文
摘要:引子:浏览器输入地址访问springboot controller 都经历了什么? 域名解析先不谈,springboot 使用的是内嵌tomcat作为web容器。而tomcat 使用的是Nio 处理 http1.1 ,经过层层过滤器最终到达servlet ,然后走的是servlet 生命周期。 sp
阅读全文
摘要:1.准备工作 1.1 安装 解压 “08-国密改造.zip” 解压 “08-国密改造\信安NetEDS安全中间件(JAVA)2.0.2.5_Linux_Windows_build20220630.zip” 解压 “08-国密改造\信安NetEDS安全中间件(JAVA)2.0.2.5_Linux_Wi
阅读全文
摘要:起因:dev环境使用的springboot 运行,本地通过ali插件打包上传,正常是上传后立即重启。 阴错阳差我想先上传,等调用空闲时再重启,在此期间就出现了好多诡异的 java.lang.NoClassDefFoundError: org/apache/catalina/core/Applicat
阅读全文
摘要:依赖,本例中用到了spring security user 相关接口,需要依赖 spring-boot-starter-security <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2
阅读全文