The solution to this build failure is not to put the target directory of your project in the src repository , and .project and .classpath should not be placed in the src repository .
The specific method is to set a SVN property in the root directory of the project before committing to SVN for the first time when creating a new project (in eclipse 3.3 , the SVN plugin is subclipse 1.4.0 ):
in eclipse, right-click Click on the project root directory Team -> Set Property ... Then in the pop-up dialog box, select " svn:ignore " for the Property name, and enter the Property Content:
target
.project
.classpath
.settings
is ok. After entering your SVN repository, delete the target directory and these two files (.classpath.project) that have been committed .
I have been like this every time the build is successful, huh, huh.
Another way is to click " Add Pattern " in Windows -> Preferences -> Team -> Ignored Resources , and then enter the target and other things one by one, which seems to be done once and for all. . .