eclipse在我的项目旁边显示了一个惊叹号,该项目的所有类都没有显示错误消息。我清理了项目并重新启动,并且仍然存在惊叹号。可能重复:
Eclipse exclamation mark
问题标签输出:
Description Resource Path Location Type
The container 'Android Dependencies' references non existing library 'D:\workspaceQR
\QRTest\bin\qrtest.jar' QR01 Build path Build Path Problem
SupplementalInfoRetriever cannot be resolved CaptureActivity.java /QRTest
/src/com/google/zxing/client/android line 496 Java Problem
ShareActivity cannot be resolved to a type CaptureActivity.java /QRTest/src/com
/google/zxing/client/android line 299 Java Problem
ResultHandlerFactory cannot be resolved CaptureActivity.java /QRTest/src/com
/google/zxing/client/android line 359 Java Problem
ResultHandler cannot be resolved to a variable CaptureActivity.java /QRTest
/src/com/google/zxing/client/android line 503 Java Problem
ResultHandler cannot be resolved to a type CaptureActivity.java /QRTest/src/com
/google/zxing/client/android line 359 Java Problem
ResultHandler cannot be resolved to a type CaptureActivity.java /QRTest/src/com
/google/zxing/client/android line 438 Java Problem
ResultHandler cannot be resolved to a type CaptureActivity.java /QRTest/src/com
/google/zxing/client/android line 521 Java Problem
ResultButtonListener cannot be resolved to a type CaptureActivity.java /QRTest
/src/com/google/zxing/client/android line 508 Java Problem
我没有任何名为QRTest的课程,但我有QR01,因此我将QR01重命名为QRTest 但问题仍然存在。
任何想法如何解决这个问题?
答案 0 :(得分:1)
当缺少某个项目依赖项时,通常会发生这种情况。请检查Java Build Path以查看是否所有内容都正确无误。您还可以查看“问题”视图。