eclipse“内容协助期间出现问题”弹出窗口

发布于 2024-09-15 20:21:39 字数 467 浏览 5 评论 0原文

在输入一些 Java 代码时,我点击了点/成员运算符 (.),如 ObjectName.methodName 内的点所示,并在 Eclipse 的弹出窗口中收到此错误

The `org.elcipse.jst.ws.jaxws.ui.jaxwsjavacompletioncomputer` 
proposal computer from the `org.eclipse.jst.ws.jaxws.ui` 
plug-in did not complete normally.

:弹出窗口立即显示消息:

"Cannot perform operation: The compilation unit 
is not in the build path of a Java project".

这是否意味着某些必需的库未按需要安装?

While typing some Java code, I hit the dot/member operator (.) as in the dot inside ObjectName.methodName and got this error in a popup in Eclipse:

The `org.elcipse.jst.ws.jaxws.ui.jaxwsjavacompletioncomputer` 
proposal computer from the `org.eclipse.jst.ws.jaxws.ui` 
plug-in did not complete normally.

A second popup immediately followed with the message:

"Cannot perform operation: The compilation unit 
is not in the build path of a Java project".

Does this mean some required library is not installed as it needs to be?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

-残月青衣踏尘吟 2024-09-22 20:21:39

来自一些事件 在那里,看起来您当前的项目没有附加“Java 性质”。

检查项目属性。请参阅如果是.project 文件中有一个 javanature

From some of the occurrences out there, it looks like your current project has no "Java nature" attached to it.

Check the project properties. See if its .project file has a javanature in it.

ˇ宁静的妩媚 2024-09-22 20:21:39

听起来你的 Eclipse 安装有点混乱。根据我的经验,最好的方法是放弃当前的安装,并打开新的安装包。

Sounds like your Eclipse installation is a bit confused. In my experience the best approach here is to discard your current installation, and unpack a new.

久伴你 2024-09-22 20:21:39

检查您的 .project 是否包含 javanature ,如下所示:

<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>

如果缺少,请添加它...

已经很晚了,但我希望有人会发现它有用。

Check whether your .project contains javanature as follows :

<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>

If it is missing, add it...

It's very late, but I hope someone will find it useful.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文