facebook

File not found after refactoring package and class

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #237293 Reply

    Alex Hamer
    Member

    This message has not been recovered.

    #237368 Reply

    Riyad Kalla
    Member

    Try right clicking on the root of your project and selecting “Refresh”, then try a rebuild. Also I’d like to add, *what* exactly is complaining about these files not being there? Your \classes dir is an output dir typically, if MyEclipse is complaining about these files not being where they should be, it is because this folder is erased completely before every rebuild, your resource files like your hbm.xml files and hibernate.cfg file should actually be in your source tree, at build time they will be copied out into your classes dir.

    #237434 Reply

    Alex Hamer
    Member

    I use ANT to automatically build several projects and included with that is to clean the output dirs. Refreshing the project with MyEclipse came up with those problems (displayed on the Problems tabs). I just rebuilt the project using myeclipse and it resolved the error msgs. Thanks.

    #237443 Reply

    Riyad Kalla
    Member

    Ahh yes if you are using an external process to build portions of the project, refresh will become your friend. (only way for Eclipse to notice the changes)

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: File not found after refactoring package and class

You must be logged in to post in the forum log in