开发者

eclipse "problems during content assist" popup

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?


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.


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜