• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Eclipse code assist error

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm just going through "The Java Developer's Guide to Eclipse" and trying out the various feature tests. Things have been going fine so far - however, when I try and use content assist/code assist, I'm told "This compilation unit is not in the build path of a java project". They don't mention this error in the book - any idea what I'm doing wrong? Thanks in advance.
 
Jim Henessey
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My bad.

I was getting this error because the project I created wasn't a Java Project.
Moderators, feel free to delete this topic.
 
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Jim Henessey:
My bad.

I was getting this error because the project I created wasn't a Java Project.
Moderators, feel free to delete this topic.



You could do so yourself - just edit your first post and check the delete box.

On the other hand, this thread might be helpful to others facing a similar problem, so why delete it?
 
author & internet detective
Posts: 40035
809
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jim,
As pointed out above, you can delete it yourself if you really want to.

I'm not deleting it because I think it's valuable to leave for others. I've forgotten to check the project type a few times myself!

Jeanne
IDEs Forum Moderator
 
Their achilles heel is the noogie! Give them noogies tiny ad!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic