开发者社区> 问答> 正文

jfinal NoClassDefFoundError 但是这个包已经导入了?报错

@JFinal 你好,想跟你请教个问题:

param index: 9   param type: String   param value: JSESSIONID=DEBC7F1CC2E40C6D7C36882D97AEE58D; authCode=cVhsSDYzbHdNZXM9; userName=admins; authmark=d0xGR1MralI5U0VkMzFyWG93RjNFdWE1NURXYTF5TXpBay8zZ0ppN040SDd1bWI5OVFtTlJkdTh1ZVRnbU1Cem42MGxBVEx1U2lOUVBKYTNDdmhiVGpNL1VKQkVKdHJ5U0xFZXJ3aFpCd0tMNXh1TklSLzJjWDlhSW5hYURneW4vWityTVkzRW40N21kSzRqRUtoQSt1UG1QVnVWbkFKenF4dnMwalFiSFFpbk1CVHVqTUpONUlYdnV4RXFzZk9qei94SEYwYm1vRTg9; JSESSIONID=9891B11670B8ED92CEB6838C761B7862 
 param index: 10   param type: String   param value: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/jeecgframework/poi/excel/entity/ImportParams
	at com.jfinal.aop.Invocation.invoke(Invocation.java:93)
	at com.jfinal.aop.Callback.intercept(Callback.java:96)
	at com.tbl.platform.mvc.school.SchoolService$$EnhancerByCGLIB$$2e0411b3.importStudent(<generated>)
	at com.tbl.platform.mvc.school.SchoolController.importStudent(SchoolController.java:1301)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at com.jfinal.aop.Invocation.invoke(Invocation.java:73)
	at com.jfinal.i18n.I18nInterceptor.intercept(I18nInterceptor.java:106)
	at com.jfinal.aop.Invocation.invoke(Invocation.java:67)
	at com.jfinal.plugin.activerecord.tx.TxByActionKeyRegex.intercept(TxByActionKeyRegex.java:61)
	at com.jfinal.aop.Invocation.invoke(Invocation.java:67)
	at com.jfinal.plugin.activerecord.tx.TxByActionKeys.intercept(TxByActionKeys.java:57)
	at com.jfinal.aop.Invocation.invoke(Invocation.java:67)
	at com.jfinal.plugin.activerecord.tx.TxByMethodRegex.intercept(TxByMethodRegex.java:61)
	at com.jfinal.aop.Invocation.invoke(Invocation.java:67)
	at com.jfinal.plugin.activerecord.tx.TxByMethods.intercept(TxByMethods.java:57)
	at com.jfinal.aop.Invocation.invoke(Invocation.java:67)
	at com.tbl.platform.interceptor.ParamPkgInterceptor.intercept(ParamPkgInterceptor.java:79)
	at com.jfinal.aop.Invocation.invoke(Invocation.java:67)
	at com.tbl.platform.interceptor.AuthInterceptor.intercept(AuthInterceptor.java:158)
	at com.jfinal.aop.Invocation.invoke(Invocation.java:67)
	at com.jfinal.core.ActionHandler.handle(ActionHandler.java:74)
	at com.tbl.platform.handler.GlobalHandler.handle(GlobalHandler.java:95)
	at com.jfinal.core.JFinalFilter.doFilter(JFinalFilter.java:72)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1081)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:277)
	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2403)
	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2392)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: org/jeecgframework/poi/excel/entity/ImportParams
	at com.tbl.platform.mvc.school.SchoolService.importStudent(SchoolService.java:74)
	at com.tbl.platform.mvc.school.SchoolService$$EnhancerByCGLIB$$2e0411b3.CGLIB$importStudent$1(<generated>)
	at com.tbl.platform.mvc.school.SchoolService$$EnhancerByCGLIB$$2e0411b3$$FastClassByCGLIB$$81552335.invoke(<generated>)
	at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
	at com.jfinal.aop.Invocation.invoke(Invocation.java:82)
	... 44 more
 
 param index: 11   param type: Timestamp   param value: 2016-06-23 11:16:03.002 
 param index: 12   param type: Long   param value: 33794 
 param index: 13   param type: String   param value: localhost:8081 
 param index: 14   param type: String   param value: 6ca9b1c94819491fa2f93b0927b3d491 
 param index: 15   param type: String   param value: 127.0.0.1 
 param index: 16   param type: String   param value: POST 
 param index: 17   param type: String   param value: 4f45b8e406994b058dbf417cb86cdd08 
 param index: 18   param type: String   param value: http://localhost:8081/ups/jf/platform/index 
 param index: 19   param type: String   param value: /ups/jf/platform/school/importStudent 
 param index: 20   param type: Timestamp   param value: 2016-06-23 11:15:29.208 
 param index: 21   param type: String   param value: 0 
 param index: 22   param type: String   param value: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0 
 param index: 23   param type: String   param value: 03a44ba0aa4e4905bea726d4da976ba5 
 param index: 24   param type: Long   param value: 0 
 param index: 25   param type: Long   param value: 1 
 param index: 26   param type: String   param value: XMLHttpRequest



提示找不到这个包,但是这个包在代码中可以导入 也可以点出方法程序也没报错

展开
收起
爱吃鱼的程序员 2020-06-09 13:45:35 656 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

     根据错误提示,应该是jeecgframework相关jar包没引入:Causedby:java.lang.NoClassDefFoundError:org/jeecgframework/poi/...这个包导入了程序没报错可以点进去,运行的时候还是出错<divclass='ref'>

    引用来自“JFinal”的评论

     根据错误提示,应该是jeecgframework相关jar包没引入:Causedby:java.lang.NoClassDefFoundError:org/jeecgframework/poi/...

    2020-06-09 13:45:53
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Java 8 简明教程 立即下载
Java8简明教程 立即下载
Java单元测试实战 立即下载