摘要:
maven pom <dependencies> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcpg-jdk15on</artifactId> <version>1.68</version> </dependency> 阅读全文
摘要:
NOClassDefFoundError org.springframework.data.redis.connection.zset.tuple
redisson-spring-boot-starter 使用的版本是3.22.0,查询了下内部集成的spring-boot-starter-web是3.1.0 ,内部使用的spring6,最低要jdk17
而我们使用的spring-boot-starter-web 的版本是2.7.18,内部使用的spring5,
本地debug调试会有默认兼容问题,所以没问题,但是maven打包出去发布就不像了
而我们项目默认的jdk8,所以造成找不到问题
所以到https://mvnrepository.com/artifact/org.redisson/redisson-spring-boot-starter 查询下自己的spring-boot-starter-web 阅读全文
摘要:
vue3使用echarts的tree,自己写事件进行分页
先到npmjs 官网查看当前使用最多的版本
const getChartData = ()=>{
let dom = document.getElementById('chart-container');
myChart = echarts.init(dom, null, {
renderer: 'canvas',
useDirtyRect: false
});
}
myChart.showLoading();
//隐藏单数的节点
flarejson.children.forEach(function (datum, index) {
index % 2 === 0 && (datum.collapsed = true);
}); 阅读全文
摘要:
Vue Router warn]: Unexpected error when starting the router: SyntaxError: Invalid arguments
No match found for location with path 阅读全文
摘要:
vue父组件调用子组件的方法,获取同步(实时)的返回结果 //父组件 <template> <Child ref="childRef"> </template> <script> import Child from '.Child.vue' components:{ Child, } setup(p 阅读全文
摘要:
方法一: <style scoped> ::v-deep .el-dialog .el-dialog-body{ height: 500px; overflow-y: auto; } </style> 如果要设置动态的高度话,则要在setup里面设置 <script > export default 阅读全文
摘要:
ReferenceError: Cannot access ‘xxxx‘ before initialization ,原因之前已经初始化过,但页面组件嵌套,需要被重复引用。 1、开启异步引用来解决 components: { DeviceManage: defineAsyncComponent ( 阅读全文
摘要:
vue el-upload 上传 <el-col :span="20"> <el-form-item :label="$t('message.common.file')" prop="uploadFileList" el-upload class="upload-demo" drag name="u 阅读全文
摘要:
java aspect 切面怎么获取 POST 数据,以及 获取FormData 文件跟form一起上传时候的参数 package com.test.aop; import com.alibaba.druid.sql.ast.statement.SQLIfStatement; import com. 阅读全文
摘要:
shardingsphere springboot application.yml配置 spring: sharding-sphere: datasource: names: master master: type: com.zaxxer.hikari.HikariDataSource driver 阅读全文