java.lang.NoClassDefFoundError:com/google/common/base/Moreobjects
專案所屬環境不同,解決方案不一定適合所有人,見諒!!!
java.lang.NoClassDefFoundError:com/google/common/base/Moreobjects
編譯可以通過,執行報錯。很無奈,突然蹦出這鬼東西,經過一番猜想再結合專案環境(JDK1.6 + maven3.1.1)嚴重懷疑版本太低沒有自動依賴相關jar,因為程式碼中確實沒涉及到google的程式碼,搜了一下這個類所屬的jar,匯入依賴,完美解決。
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>19.0</version>
</dependency>
相關文章
- 文字資料匯入HBASE庫找不到類com/google/common/collect/MultimapGo
- common.cssCSS
- Lowest Common Ancestor
- C# Common utilsC#
- Common Probability Distributions
- Common LISP Hints 中文Lisp
- 2.3.2 Application Common ObjectsAPPObject
- IRRATIONAL APPEAL TO COMMON BELIEFAPP
- Common threads: Awk by examplethread
- Html language common symbolic entitiesHTMLSymbol
- B-A Bit More Common
- ch13_common_class
- com.css.common.jdbcTemplate中的類CSSJDBC
- 2024牛客多校第一場A Bit Common & A Bit More Common
- 2.2.5 Overview of Common and Local Objects in a CDBViewObject
- 2.2.2 Overview of Common and Local Users in a CDBView
- Leetcode Longest Common PrefixLeetCode
- common-IO.jar相關JAR
- [LeetCode]Longest Common PrefixLeetCode
- apache common-io.jar FileUtilsApacheJAR
- 小議 Common Lisp 的名字Lisp
- Oracle -- Common Performance Tuning IssuesOracleORM
- 2.3.2.1 Creation of Application Common ObjectsAPPObject
- PostgreSQL DBA(136) - Develop(Common Mistakes)SQLdev
- Cannot find package module sap/cds/commonPackage
- Leetcode 14 Longest Common PrefixLeetCode
- LintCode-Longest Common Subsequence
- Leetcode-Longest Common PrefixLeetCode
- Row Movement Common Questions and Problems on Partitioned Tables
- Longest Common Prefix leetcode javaLeetCodeJava
- Common Oracle Wait Event Descriptions(zt)OracleAI
- mootools框架【七】-Common篇: mootools的構造應用的基礎設施類Common.js框架JS
- 2.2.6 Overview of Common Audit ConfigurationsView
- Lowest Common Multiple Plus hd 2028
- Angular 4.x template syntax & common directivesAngular
- FAQ: Row Movement Common Questions and Problems on Partitioned Tables
- LintCode-Longest Common Substring
- Common Diagnostic Scripts for AUM problems (Doc ID 746173.1)