Eclipse Spring Boot Build Path包含重复输入 [英] Eclipse Spring Boot Build Path Contains Duplicate Entry
问题描述
构建路径包含重复的条目:'org。 eclipse.jdt.launching.JRE_CONTAINER / org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType / JavaSE-1.8'for project'TomcatHttpDemo'
我不知道这是否与此问题有关,但我尝试
性状> Java构建路径>图书馆
,发现JSE系统库[JavaSE-1.8]被列出两次。我删除了其中一个,然后清理并重新构建了该项目。我有一堆新的错误。这些错误与删除JRE系统库有关。我甚至重新启动Eclipse几次,以清除任何延迟的错误。
我正在运行Luna 4.4并升级到Mars 4.5,但问题仍然持续。我可以建立我的旧项目,没有任何问题。使用Luna或Mars,旧的项目可以正确构建和执行。任何时候我尝试创建一个新的项目,我得到重复输入错误。任何帮助将不胜感激。
如果我明白您的问题,那么您的项目就是库问题,所以
1.选择您的项目,然后转到属性
2.Java构建路径
3.在顶部选择Libraires
4.添加JRE系统库
5.检查执行环境然后单击到环境
6.在左侧单击安装的JRE
7.然后单击To添加标准VM
8.点击目录然后转到/ yourprograms / java / jdk 1.8
9然后点击完成后,这个检查你刚添加什么,点击确定
10.当一切都关闭更新你的maven项目
我希望它可以帮助你
I have been using Eclipse Luna and sprint boot for quite a while. Just today, when I created a new project I am getting the following build error,
Build path contains duplicate entry: 'org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8' for project 'TomcatHttpDemo'
I am not sure if this is related to this problem but I tried
properties> Java Build Path > Libraries
and found that 'JRE System Library[JavaSE-1.8] was listed twice. I deleted one of them and then cleaned and re-built the project. I got a bunch of new errors. These errors were all related to deleting the JRE system library. I even restarted Eclipse several times to clear out any lingering errors.
I was running Luna 4.4 and upgraded to Mars 4.5 but the problem continues to persist. I can build my old projects with no problems at all. Using Luna or Mars the old projects build and execute properly. Any time I try to create a new project I get the duplicate entry error. Any help would be appreciated.
if i understand your problem it's library issue with your project so
1.Select your project then go to Properties
2.Java build Path
3.in the Top select Libraires
4.add a JRE System Library
5.check the Execution Environment Then Click to Environments
6.On the left click to Installed JREs
7.Then Click To add , Standard VM
8.click To directory Then go to /yourprograms/java/jdk 1.8
9.then Click finish after this check what you just added and click ok
10.when everything is closed update your maven Project
i hope it helps you
这篇关于Eclipse Spring Boot Build Path包含重复输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!