Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » The resource is not on the build path of a java project
The resource is not on the build path of a java project [message #481955] Mon, 24 August 2009 20:16 Go to next message
D. Alvarado is currently offline D. Alvarado
Messages: 91
Registered: July 2009
Member
Hi,

I'm using Eclipse 3.4 on Windows XP. When I open a Java file within my
Java project, right click a term and click "References", I get an alert
box with the error, "The resource is not on the build path of a Java
project." Does anyone know how I can fix this?

Thanks, - Dave
Re: The resource is not on the build path of a java project [message #481988 is a reply to message #481955] Tue, 25 August 2009 01:01 Go to previous message
Eric Rizzo is currently offline Eric Rizzo
Messages: 2313
Registered: July 2009
Senior Member
D. Alvarado wrote:
> Hi,
>
> I'm using Eclipse 3.4 on Windows XP. When I open a Java file within my
> Java project, right click a term and click "References", I get an alert
> box with the error, "The resource is not on the build path of a Java
> project." Does anyone know how I can fix this?

A .java file being in a Java Project is not enough - are you sure the
file is on the Build Path of the project?
If you're not sure, open the Properties of the Project and select the
Java Build Path section; then examine the Source tab to determine if one
of those locations includes the file.

Hope this helps,
Eric
Previous Topic:Hot swap - most of the time dont work
Next Topic:Please Help![Launch Failed,Binary not Found]
Goto Forum:
  


Current Time: Sun Oct 26 04:35:01 GMT 2014

Powered by FUDForum. Page generated in 0.03003 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software