java - 光标无法解析错误

标签 java eclipse google-app-engine

任何人都遇到过以下错误:

The type com.google.appengine.api.datastore.Cursor cannot be resolved. It is indirectly referenced from required .class files

我已经完成了项目清理工作,但我的 Eclipse 项目仍然出现此错误。

最佳答案

执行 ctrl+shift+t com.google.appengine.api.datastore.Cursor 并查看 Cursor 是否可以在 Eclipse 中访问。如果没有,请通过将 jar 添加到类路径中来使其可用。如果是,请检查路径并确保其仅显示您项目的路径。

关于java - 光标无法解析错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12847048/

相关文章:

java - Tomcat6 和 MySQL 问题

java - 在 java.library.path 中找不到 ocijdbc10

google-app-engine - Google App Engine .Net Core 2.0 应用无法访问 Google Cloud SQL 数据库

Java if 语句 : How to find if value is not equal null?

java - java中用空格正则表达式匹配单词

java - eclipse 调试 : Source not found for

java - 这两个程序的区别

eclipse - 提交项目时我应该包含 .project 和 .classpath 吗?

python - 为什么不添加 X-Appengine-Inbound-Appid header ?

eclipse - 无法在 Eclipse 中安装 Google 插件