nested exception is java.lang.NoClassDefFoundError: org/fusesource/hawtbuf/UTF8Buffer


前言:IDE管理maven項目,總是遇到各種莫名奇妙的問題,有的是導入了依賴,IDE確報包未找到,有的是IDE顯示找到,但是控制台確報未找到,有以下幾種方法可以解決

 

第一:確認自己導入的依賴是否有問題,自己配置的maven依賴是否有問題

 

第二:IDE清理緩存:如下圖

 

 第三:項目中,如果module之間存在依賴,則install,打包到本地倉庫,即導入了依賴,但是本地倉庫沒有,但是IDE不會顯示,而是在運行時去本地倉庫查找,而本地倉庫又沒有,即會報錯

 

以上幾種方法,可以解決90%的IDE依賴包問題。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 fastJSON報錯:Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: org/json/JSONObject applicationContext-common.xml]; nested exception is java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal could not find class that it depends on; nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException 解決Exception:Could not open Hibernate Session for transaction; nested exception is java.lang.NoClassDefFoundError: org/hibernate/engine/transaction/spi/TransactionContext 解決Could not open Hibernate Session for transaction; nested exception is java.lang.NoClassDefFoundError: org/hibernate/engine/transaction/spi/TransactionContext Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException Java AOP nested exception is java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice || Error creating bean with name 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0' 兩個異常解決辦法 Spring出現Unexpected exception parsing XML document from class path resource [applicationBeans.xml]; nested exception is java.lang.NoClassDefFoundError: org/springframework/aop/TargetSource異常 nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/util/DefaultIndenter Handler processing failed; nested exception is java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config解決
 
粵ICP備18138465號   © 2018-2026 CODEPRJ.COM