954,173 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Problem with JBuilder

I keep getting these errors. Anyone know how to fix them? My program was working before. Both directories seem to be the same tho so i have no clue what it means.


"AppointmentMatthews.java": Package C:\javastuff\Appointment\AppointmentMatthews.java stated in source Massage does not match directory C:\javastuff\Appointment\AppointmentMatthews.java. at line 11, column 9
"MassageMatthews.java": Package C:\javastuff\Appointment\MassageMatthews.java stated in source Massage does not match directory C:\javastuff\Appointment\MassageMatthews.java. at line 1, column 9

"ApptDriverMatthews.java": Package C:\javastuff\Appointment\ApptDriverMatthews.java stated in source Massage does not match directory C:\javastuff\Appointment\ApptDriverMatthews.java. at line 6, column 9

"ClientMatthews.java": Package C:\javastuff\Appointment\ClientMatthews.java stated in source Massage does not match directory C:\javastuff\Appointment\ClientMatthews.java. at line 11, column 9

"AppointmentMatthews.java": Duplicate definition of class Massage.AppointmentMatthews, defined in C:\javastuff\AppointmentMatthews.java and also defined in C:\javastuff\Appointment\AppointmentMatthews.java.

Jeff20
Newbie Poster
1 post since Sep 2004
Reputation Points: 10
Solved Threads: 0
 

Rebuild your entire project. It looks like you changed the sources it depends on but it still has old versions of those classes cached. A full rebuild should fix that.

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

think you must resetup it because this problem happen as i think because of missing some statment in the program maybe when u was use it you change some option by mistake .... i think that

sis warm heart

warm heart
Newbie Poster
4 posts since Dec 2004
Reputation Points: 10
Solved Threads: 0
 

I think you added the files to the JBuilder project ... you must create a new file of the class name and then copy and paste those contents respectively in each file.

nanosani
Unauthenticated Liar
Team Colleague
1,830 posts since Jul 2004
Reputation Points: 45
Solved Threads: 56
 

no, that's not needed when adding files. But you are responsible for making sure your project is up to date when they change externally...

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You