zno2

随笔分类 -  spring boot

org.codehaus.plexus.archiver.jar.Manifest.write(java.io.PrintWriter)
摘要:Description Resource Path Location Type org.codehaus.plexus.archiver.jar.Manifest.write(java.io.PrintWriter) pom.xml /gs-rest-service line 1 Maven Con 阅读全文

posted @ 2023-06-06 12:42 zno2 阅读(186) 评论(0) 推荐(0)

启动 springboot jar包时指定额外的classpath (-Xbootclasspath/a:)
摘要:https://www.cnblogs.com/zno2/p/16353014.html 借助 java -jar -Xbootclasspath/a:D:\conf testcp.jar import java.io.IOException; import java.lang.management 阅读全文

posted @ 2023-06-02 08:19 zno2 阅读(508) 评论(0) 推荐(0)

springboot web 启动后为什么不会停止
摘要:jls 12.8 中 jvm终止需要满足以下两个任意一个:All the threads that are not daemon threads terminate. (全部非守护进程终止)Some thread invokes the exit method of class Runtime or 阅读全文

posted @ 2023-06-02 08:12 zno2 阅读(197) 评论(0) 推荐(0)

spring boot 原理:生命周期
摘要:https://docs.spring.io/spring-boot/docs/2.3.9.RELEASE/reference/html/spring-boot-features.html#boot-features-application-events-and-listeners 引子 Sprin 阅读全文

posted @ 2023-06-02 08:12 zno2 阅读(302) 评论(0) 推荐(0)

spring boot核心原理:@Conditional
摘要:资料 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 阅读全文

posted @ 2023-06-01 17:13 zno2 阅读(68) 评论(0) 推荐(0)

spring boot 核心原理: DispatcherServlet
摘要:引子:浏览器输入地址访问springboot controller 都经历了什么? 域名解析先不谈,springboot 使用的是内嵌tomcat作为web容器。而tomcat 使用的是Nio 处理 http1.1 ,经过层层过滤器最终到达servlet ,然后走的是servlet 生命周期。 sp 阅读全文

posted @ 2023-06-01 17:12 zno2 阅读(414) 评论(0) 推荐(0)

国密信安NetEDS实操demo
摘要: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 阅读全文

posted @ 2023-06-01 16:17 zno2 阅读(514) 评论(0) 推荐(0)

springboot jar 包启动后被删除报异常 NoClassDefFoundError
摘要:起因:dev环境使用的springboot 运行,本地通过ali插件打包上传,正常是上传后立即重启。 阴错阳差我想先上传,等调用空闲时再重启,在此期间就出现了好多诡异的 java.lang.NoClassDefFoundError: org/apache/catalina/core/Applicat 阅读全文

posted @ 2023-06-01 16:16 zno2 阅读(277) 评论(0) 推荐(0)

spring boot 配置 mybatis 数据源
摘要:依赖,本例中用到了spring security user 相关接口,需要依赖 spring-boot-starter-security <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2 阅读全文

posted @ 2021-02-06 14:55 zno2 阅读(229) 评论(0) 推荐(0)

导航