MyEclipse unable to automatically compile the workaround

Source: Internet
Author: User

Organize network resources and practice the results.

  1. Make sure Project->build automatically has been selected.
  2. If selected, also does not work, use this trick: Project->clean. Select 2nd Clean Select Project, tick the start build immediately
  3. Delete the current project, set the output path of the compiled file in advance, re-import the source file, set Eclipse to compile on save, and then compile it automatically when you save it.
  4. If the project led to an unused jar, and that package is deleted by you, it will appear without error, but how to compile the case of the class file, you can delete all the packages, and then one by one to introduce (need), do not bring all the package all at once, the useless may cause undesirable consequences.
  5. Want to delete a class file to regenerate, remove the class file, but the folder under the Classes directory is opened by other programs, such as Total Commander. At this point the compilation will not pass, under problems may prompt "Con ' t delete classes ...". Turn off other programs to recompile.
  6. In other cases, remove the JRE System Library and re-import to compile. But what causes it is unclear.
  7. Remove all packages from the build path. Then add Jars,add libraries put the need to add in, incredibly began to compile
  8. Project->properties->java Build PATH->SOURCE->.../WEB-INF/SRC output folder do not default, edit let it point to: /web-inf/classes then re-click Build project to automatically compile
  9. Then the most important thing to see is whether the work directory is missing, because the CVS control does not add work as a version, so checkout after the directory, to manually add some projects can be automatically compiled
  10. . classpath file to see if there are <classpathentrykind= "src" path= "src"/>
  11. Delete the Classes folder under Web-inf
  12. Remove build automatically, then select Build all, then manually tick

MyEclipse unable to automatically compile the workaround

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.