No build path solution for new projects downloaded from CVS or svn

Source: Internet
Author: User

Project name right-click No build path, right-click Propertise is also not. Lists two workarounds.

1. The classpath file is missing or the. project file is missing and can be copied directly from other projects that can be build and changed to open. Classpath Change the project name.

New. Project Copy paste Code

<?XML version= "1.0" encoding= "UTF-8"?><projectdescription>    <name> your project name</name>    <Comment></Comment>    <Projects>    </Projects>    <Buildspec>        <Buildcommand>            <name>Org.eclipse.jdt.core.javabuilder</name>            <arguments>            </arguments>        </Buildcommand>        <Buildcommand>            <name>Org.maven.ide.eclipse.maven2Builder</name>            <arguments>            </arguments>        </Buildcommand>    </Buildspec>    <Natures>        <Nature>Org.eclipse.jdt.core.javanature</Nature>        <Nature>Org.maven.ide.eclipse.maven2Nature</Nature>    </Natures></projectdescription>

New. Classpath copy and paste the code.

<?XML version= "1.0" encoding= "UTF-8"?><Classpath>    <ClasspathentryKind= "src"Path= "Javasource"/>    <ClasspathentryKind= "Con"Path= "Org.eclipse.jdt.launching.JRE_CONTAINER"/>    <ClasspathentryKind= "Output"Path= "Webcontent/web-inf/classes"/></Classpath>

2. Missing <natures></natures> in Project

< Natures >        < Nature >org.eclipse.jdt.core.javanature</nature>        < Nature >org.maven.ide.eclipse.maven2Nature</nature>   </natures>

Insert the Natures section in the same location as the code in 1.

After clean, after the refresh my project will appear build path.

No build path solution for new projects downloaded from CVS or svn

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.