eclipse“内容协助期间出现问题”弹出窗口
在输入一些 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
来自一些事件 在那里,看起来您当前的项目没有附加“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 ajavanature
in it.听起来你的 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.
检查您的 .project 是否包含
javanature
,如下所示:如果缺少,请添加它...
已经很晚了,但我希望有人会发现它有用。
Check whether your .project contains
javanature
as follows :If it is missing, add it...
It's very late, but I hope someone will find it useful.