简体   繁体   English

在Eclipse中恢复Spring Boot项目

[英]Recovering Spring Boot Project in Eclipse

I'm running Eclipse Neon.2 Release (4.6.2) and was in the middle of a Spring Boot course when an Eclipse update killed my Workspace. 我正在运行Eclipse Neon.2 Release(4.6.2),当时正处于Spring Boot课程的中间,当时Eclipse更新杀死了我的工作区。

After many hours of research on -clean, eclipse.ini edits, etc I decided to start a new workspace. 在对-clean,eclipse.ini编辑等进行了许多小时的研究之后,我决定启动一个新的工作区。 I have a local repo created on the HD and subclipse 1.10.13 plugin installed, so I knew my actual project was safe. 我在HD和subclipse 1.10.13插件上安装了本地存储库,因此我知道我的实际项目是安全的。

Problem is I can't get Maven to recreate the original structure of the project with the new project wizard (assuming this is what I need since a straight checkout was missing many directories/files. Using the wizard the structure is still off and it creates a duplicate pom.xml file. 问题是我无法使用新的项目向导让Maven重新创建项目的原始结构(假设这是我所需要的,因为直接检出丢失了许多目录/文件。使用该向导,该结构仍处于关闭状态并创建了该结构一个重复的pom.xml文件。

How do I get Maven to recreate the structure the way it was without creating a duplicate pom.xml? 我如何使Maven以原来的方式重新创建结构而不创建重复的pom.xml?

您可以尝试右键单击您的项目,然后从上下文菜单中单击“配置”>“转换为Maven项目”

您是否尝试使用启动参数-clean -initialize启动Eclipse和Workspace

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM