5

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?

LowFatTwinkie
  • 1,003
  • 1
  • 8
  • 10
  • you can resolve your broblem here : https://stackoverflow.com/a/46727305/3237665 – mkebri Oct 13 '17 at 10:01
  • I have the same problem. Kindly help me https://stackoverflow.com/questions/50897913/how-do-i-fix-this-content-assist-errors-in-java-eclipse?noredirect=1#comment88795473_50897913 – Kowsigan Atsayam Jun 17 '18 at 15:56

3 Answers3

1

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.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
0

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.

qben
  • 813
  • 10
  • 22
RahulArackal
  • 944
  • 12
  • 28
0

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.

Thorbjørn Ravn Andersen
  • 73,784
  • 33
  • 194
  • 347