加载中
java 自定义classloader 加载外部文件

自定义ClassLoader 定义外部类 这里定义啦一个普通的类,里面一个累加的方法 javac com.du.lo.myclassloader.TestClassLoader.java 编译出class文件,复制出来放到 e:\目录下 这里就可以吧当...

2020/12/21 13:51
792
java 线程池拒绝策略

拒绝策略 abortpolicy 该拒绝策略表示的是 直接抛出异常 /** * Always throws RejectedExecutionException. * * @param r the runnable task requested to be executed * @p......

2020/12/13 01:35
103
jvm 日志输出到文件

测试使用 java -Xmn10M -Xms40M -Xmx50M -XX:+PrintGCDetails -XX:+PrintCommandLineFlags -Xloggc:/Users/duanlsh/Documents/gc-%t.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=...

2020/12/12 00:19
765
springboot 整合 elasticsearch

springboot 整合 elasticsearch pom.xml 引入 org.springframework.boot spring-boot-starter-parent 2.0.6.RELEASE ......

自定义 spring-boot-starter

自定义 spring-boot-starter springboot规定一般官网的包名为 spring-boot-start-xxx (spring-boot-start-web) 个人或者第三方命名规则为:xxx-spring-boot-start (pagehelper-spring-boot-s...

2019/07/26 17:24
295
mybatis-plus 自动生成类代码

目录 pom 依赖 执行sql demo pom.xml org.springframework.boot spring-boot-starter-web com.baom...

2019/07/17 19:33
4.1K
springboot 下载excle文件

paradrop.xlsx 存在 src/main/resource/paradrop.xlsx @RequestMapping(value = "/downloadExcel") public void downloadExcel(HttpServletResponse response, HttpServletRequest request) ...

2019/05/20 13:43
592
Could not find module "@angular-devkit/build-angular"

解决办法: npm i --save-dev @angular-devkit/build-angular

2019/03/28 17:06
520
mybatis 生成的base xml文件 打入jar包中引用使用

编写mybatis Base类 打成jar包供其他项目使用 1、公司架构为mybatis使用的 springboot+mybatis 2、mybatis 使用的是 mybatis-generator 生成 3、但是其他项目每次使用的时候 都会在生成的 xm...

2019/03/26 20:24
2.3K
spring-boot elastic-job整合文档

spring-boot elastic-job 整合 pom 引用 com.dangdang elastic-job-lite-core 2.1.5

springboot(三)profiles

Profiles 信息 选择类进行加载 spring.profiles.active 表示的是激活那个配置文件 激活多个文件可以 使用 , 分割 同时也可以用列表的方式 pring.profiles.include 表示包含哪些配置文件,用法...

springboot(一) springApplication管理

springboot 启动方式 //方法一 SpringApplication.run(PersonSpringbookApplication.class, args) //方法二 SpringApplication springApplication = new SpringApplication(PersonSpringbook...

2019/02/20 15:42
91
idea intelliJ 2020 激活码

idea QYYBAC9D3J-eyJsaWNlbnNlSWQiOiJRWVlCQUM5RDNKIiwibGljZW5zZWVOYW1lIjoi6LaF57qnIOeoi+W6j+WRmCIsImFzc2lnbmVlTmFtZSI6IiIsImFzc2lnbmVlRW1haWwiOiIiLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiIiL...

2019/02/13 13:05
9.3K
FileChannel 使用ByteBuffer 和 Protostuff 从文件中读写 对象信息

protostuff protostuff 包引入 io.protostuff protostuff-runtime 1.6.0 io...

2018/12/14 16:30
562
spring中的@validator

当前使用版本 org.hibernate hibernate-validator 6.0.9.Final 内容介绍 @Validator注解表示对当前参数的约...

2018/07/30 01:55
770

没有更多内容

加载失败,请刷新页面

返回顶部
顶部