Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » The Declared Package Does Not Match
The Declared Package Does Not Match [message #49655] Thu, 05 June 2003 03:41 Go to next message
Eclipse UserFriend
Originally posted by: chris.javadisciple.com

Windows XP, Eclipse 2.1

I botched something up yesterday where I could no longer get a program
to build, I kept getting an error with "Debug UI". Okay, so I figured
I'd broken something and I moved my workspace to save my work, deleted
and reinstalled Eclipse, and built a project and imported my files to it.

But now all my source files get the error "the declared package does not
match the expected package..." but there is no declared package.

What did I do wrong?

--
Chris Rehm
chris@javadisciple.com

Thou shalt not avenge, nor bear any grudge against the children of thy
people, but shalt love thy neighbour as thyself. [Lev. 19:18]
Re: The Declared Package Does Not Match [message #49714 is a reply to message #49655] Thu, 05 June 2003 06:32 Go to previous message
Eclipse UserFriend
Originally posted by: chris.javadisciple.com

Okay, I've ended up moving everything to "default package" which Eclipse
created when I selected the option to move the first source. I'm just
not sure what happened, and I don't recall if I had a package created
called "default package" before.

Did I do something to cause this, or am I just forgetting that this is
the way it was?

Chris Rehm wrote:
> Windows XP, Eclipse 2.1
>
> I botched something up yesterday where I could no longer get a program
> to build, I kept getting an error with "Debug UI". Okay, so I figured
> I'd broken something and I moved my workspace to save my work, deleted
> and reinstalled Eclipse, and built a project and imported my files to it.
>
> But now all my source files get the error "the declared package does not
> match the expected package..." but there is no declared package.
>
> What did I do wrong?
>


--
Chris Rehm
chris@javadisciple.com

Thou shalt not avenge, nor bear any grudge against the children of thy
people, but shalt love thy neighbour as thyself. [Lev. 19:18]
Previous Topic:Syntax highlighting for classes
Next Topic:build/rebuild problems
Goto Forum:
  


Current Time: Thu Dec 26 11:07:03 GMT 2024

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

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

Back to the top