Eclipse:项目属性不显示构建路径

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/13949928/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 21:28:49  来源:igfitidea点击:

Eclipse : Project properties don't show Build Path

eclipsebuildclasspath

提问by Riju Mahna

Build path not available

构建路径不可用

My eclipse does not show the 'Java Build Path' option in a JAVA project's properties. The properties screenshot is attached above. What might be the reason for this ?

我的 Eclipse 没有在 JAVA 项目的属性中显示“Java 构建路径”选项。上面附有属性屏幕截图。这可能是什么原因?

On the left side lide, there should be an option for Java Build Path..

在左侧幻灯片中,应该有一个 Java Build Path 选项。

采纳答案by NoNaMe

You may get some help from any of these blogs

您可以从这些博客中的任何一个中获得一些帮助

How do I add a builder to a given project

如何向给定项目添加构建器

OR check this post

或查看此帖子

Eclipse adding your own build command

Eclipse 添加您自己的构建命令

回答by vijay junupalli

To resolve this issue follow the below options

要解决此问题,请遵循以下选项

1) Go to Project root2) Select "Project facets" from Properties3) Check "Java"

1) 转到项目根目录2)从属性中选择“项目构面” 3) 选中“ Java

This fixes the issue

这解决了这个问题

回答by Tadele Ayelegn

I was in the same situation. Found two solutions for this in different time

我处于同样的情况。在不同的时间找到了两个解决方案

  1. Right click on src folder and see if you can see the option to configuer build path. After that right click on the project and maven > update project.
  1. 右键单击 src 文件夹,看看是否可以看到配置构建路径的选项。之后右键单击该项目并 maven > 更新项目。

If this does not work

如果这不起作用

  1. Right click on the project > properties > project facets and click on the link saying convert the project into faceted project.
  1. 右键单击项目 > 属性 > 项目构面,然后单击将项目转换为构面项目的链接。

Right click on the project , Refresh and check if you get the option to configure build path

右键单击项目,刷新并检查是否有配置构建路径的选项

回答by Willy Makend

I had the same problem in trying to compile a project. The solution and go to "run configurations" and choose the right Runtime JRE

我在尝试编译项目时遇到了同样的问题。解决方案并转到“运行配置”并选择正确的运行时 JRE

回答by Viv

Build your project using Project->Build Projectin Eclipse .This will automatically adds build path to your project.

使用Eclipse 中的Project->Build Project构建您的项目。这将自动为您的项目添加构建路径。

回答by A Taylor

I had to delete my maven .m2/repository folder and that made my build path reappear.

我不得不删除我的 maven .m2/repository 文件夹,这使我的构建路径重新出现。