Exception in thread main java.lang.Error: Unresolved compilation problems 解决方案
生活随笔
收集整理的這篇文章主要介紹了
Exception in thread main java.lang.Error: Unresolved compilation problems 解决方案
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
從http://ictclas.org/Down_OpenSrc.asp?下了個中科院分詞軟件java開發版程序ictclas4j,在eclipse中寫了一個類測試下結果,出現以下錯誤:?
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
The import org.apache cannot be resolved
?ReflectionToStringBuilder cannot be resolved
?
?找了很久,終于找到原因了,下了個commons jar包, 然后按如下步驟:在Package Explore內 對應的工程上 單擊右鍵;彈出右鍵菜單上單擊“Build Path->Configure Build Path”,在彈出的對話框上 單擊“Libararies->add External JARS” 選擇上你的jar包所在位置就可以了
?
總結
以上是生活随笔為你收集整理的Exception in thread main java.lang.Error: Unresolved compilation problems 解决方案的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 中文信息处理的主流技术是什么?
- 下一篇: 如何学习和做研究