- 博客(5)
- 收藏
- 关注
原创 Vert.x @ProxyGen 使用IDEA构建时报错
在使用vertx-codegen的@ProxyGen注解自动生成代码的时候,发现IDEA在编译的时候报错:java: Could not generate element for com.kaopusong.vertx.service.DeliveryAsyncService: null
2022-08-18 16:13:51
781
2
原创 SpringBoot根据Maven动态选择profile打包的几种方式
常用的几种激活profile的方式在配置文件中直接指定spring.profiles.active=test使用占位符,在打包时替换,以mavne为例spring.profiles.active=@spring.profiles.active@maven中加入<profiles> <profile> <id>dev</id> <properties> <spring
2021-08-17 11:44:08
6857
1
原创 SpringBoot jar包转成war包
SpringBoot jar包转成war包一、packageing改成war<packaging>war</packaging>二、引入插件<plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration>
2021-08-17 10:43:20
486
1
原创 SpringBoot从Redis中取对象缓存强转发生ClassCastException
SpringBoot从Redis中取对象缓存强转发生ClassCastException异常日志信息代码片段报错原因解决方法异常日志信息java.lang.ClassCastException: com.model.user.entity.UserEntity cannot be cast to com.model.user.entity.UserEntity at com.zlhj.re....
2019-12-04 12:07:32
2912
1
原创 将EXCEL文件内容转换为JSON数据格式
阿里云链接地址将EXCEL文件内容转换为JSON通常EXCEL文件都是由前端上传到阿里云之后,保存一个URL地址在服务端。但是前端展示EXCEL内容的时候,每次都要将文件下载下来再展示到页面上,频繁下载删除影响效率。所以要我服务端读取EXCEL内容将表格数据返回给前端进行展示。原文地址 https://yq.aliyun.com/articles/581276我只是在这代码基础上做了一些适合...
2019-03-04 18:58:46
3452
3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人