jdk17 环境easyexcel导入excel报错java.lang.NoClassDefFoundError: org/apache/commons/io/build/AbstractStream
创始人
2024-12-26 18:09:37
0

liunx环境报错本地window不报错 个人推测本地运行时可能子工程缓存的原因,清空maven 缓存后运行也报错。

报错:com.dtp.core.thread.NamedThreadFactory$DtpUncaughtExceptionHandler:uncaughtException:68: thread Thread[test-1,5,main] throw exception java.lang.IllegalAccessError: class com.ai.aif.log4x.util.Strings (in unnamed module @0x6833ce2c) cannot access class sun.security.action.GetPropertyAction (in module java.base) because module java.base does not export sun.security.action to unnamed module @0x6833ce2c
com.alibaba.excel.exception.ExcelAnalysisException: java.lang.NoClassDefFoundError: org/apache/commons/io/build/AbstractStreamBuilder
at com.alibaba.excel.analysis.ExcelAnalyserImpl.(ExcelAnalyserImpl.java:61)
at com.alibaba.excel.ExcelReader.(ExcelReader.java:30)
at com.alibaba.excel.read.builder.ExcelReaderBuilder.build(ExcelReaderBuilder.java:214)
at com.alibaba.excel.read.builder.ExcelReaderBuilder.sheet(ExcelReaderBuilder.java:251)
at com.alibaba.excel.read.builder.ExcelReaderBuilder.sheet(ExcelReaderBuilder.java:243)
at com.basic.system.utils.ExcelUtil.readExcel(ExcelUtil.java:30)
at com.basic.system.service.impl.SysAddressBookServiceImpl.addStaff(SysAddressBookServiceImpl.java:259)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:751)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:391)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:751)

相关内容

热门资讯

BGP路径属性 路径属性分类 1. 公认属性(所有 BGP 路由器都能识别) (1) 公...
ArrayList详解 文章目录ArrayListRandomAccessCloneableArrayList扩容Array...
JNI: 在Kotlin和C+... 在Kotlin和C++之间通过JNI进行接口传递时,需要注意两边参数定...
第8了解!微扑克专用软件透明挂... 第8了解!微扑克专用软件透明挂辅助软件,wpk微扑克有辅助插件的(有挂教程)-哔哩哔哩;1、这是跨平...
【cocos creator】... TS入门记录常用的 系统学习可参考:菜鸟教程1、语法规范:以换行分割语句...
4瞬间秒懂!(贪玩娱乐)外挂透... 4瞬间秒懂!(贪玩娱乐)外挂透明挂辅助器透视挂!(透视)详细教程(2023已更新)(哔哩哔哩);1、...
百分点科技签约潍坊市数据产业发... 近日,潍坊市数据产业发展战略合作签约仪式举行,潍坊市人民政府副市长张震生...
AppML 案例:Produc... AppML 案例:ProductsAppML(Application M...
ComfyUI进阶:Comfy... 前言:学习ComfyUI是一场持久战,而Comfyroll Studio...
代谢组数据分析(十五):基于p... 介绍本教程描述了一个具有二元分类结果的研究的典型代谢组学数据分析工作流程。主要步骤包括:从Excel...