Why does my eclipse project not have a build path?

后端 未结 10 1506
南方客
南方客 2021-02-07 18:00

What is the advantage with not having a build path in eclipse? Why is that setting default when it\'s like something you\'d never use? It seems eclipse indigo was developed to m

相关标签:
10条回答
  • 2021-02-07 18:14

    I tried below steps and it works for me.

    Right click on project >> properties >> project facets >> click on java

    0 讨论(0)
  • 2021-02-07 18:14

    Well, this is probably not your problem, but similar is happening if you are in Eclipse different perspective (for example for Python).

    vs.

    0 讨论(0)
  • 2021-02-07 18:20

    It looks like you did not add Eclipse project metadata files to your source control system, so Eclipse doesn't know what your build path is or whether it is even a java project. You can see that the little folder on your dungeonworld project is missing the little 'j', which means Eclipse doesn't think it's a java project.

    Go back to your other computer and look for the following files in your original project root...

    1. .project
    2. .classpath
    3. .settings/*

    Make sure all of the end up in your source control system or nothing will work right.

    0 讨论(0)
  • 2021-02-07 18:23

    Eclipse has a build path. It's stored in a (by default hidden) .classpath file in your project. You can also access it through the UI in project properties (right click on your project, properties, java build path).

    0 讨论(0)
提交回复
热议问题