简体   繁体   English

无法使用开发人员配置文件在Eclipse中运行jhipster-registry,需要Git回购

[英]Can't run jhipster-registry in Eclipse with dev profile, needs Git repo

I just downloaded jhipster-registry v3.0.0 and built it in Eclipse with the 'dev' profile. 我刚刚下载了jhipster-registry v3.0.0,并在Eclipse中使用“ dev”概要文件对其进行了构建。 I'm running it with the 'dev' profile as a Spring Boot app using the STS Boot Dashboard. 我正在使用“ STS引导仪表板”以“ dev”配置文件作为Spring Boot应用程序运行它。 However, it is trying to use a Git URI. 但是,它正在尝试使用Git URI。 I thought it was supposed to use the "native" profile and use a directory on the filesystem. 我认为应该使用“本机”配置文件并使用文件系统上的目录。

It was failing due to proxy issues, first. 首先,由于代理问题而失败。 I commented out the git.uri property in bootstrap.yml and it complains a uri is not defined. 我注释掉bootstrap.yml中的git.uri属性,它抱怨未定义uri。 I left it empty, but it still tries to checkout from it. 我将其留空,但仍尝试从中结帐。

bootstrap.yml says profiles.active = dev,native bootstrap.yml说profiles.active = dev,native

I can launch the registry using Maven from the command-line. 我可以从命令行使用Maven启动注册表。 I've never had trouble launching jHipster generated projects from Eclipse, but this one is acting different. 我从来没有遇到过从Eclipse启动jHipster生成的项目的麻烦,但是这一行为有所不同。 How can I launch it and not use a Git repo? 如何启动它而不使用Git存储库?

When using STS Boot Dashboard, make sure to include both native and dev in the profiles to use in the run target. 使用STS引导仪表板时,请确保在配置文件中包括本机和开发人员,以在运行目标中使用。 Use native,dev 使用native,dev

Without the native profile, the JHipster registry's cloud config server will use the git configuration instead of the local filesystem. 如果没有本native配置文件,JHipster注册表的云配置服务器将使用git配置而不是本地文件系统。

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

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