请帮助我解决以下问题。我希望git repo中的每个微服务都有一个文件夹。请参考我在git repo中的示例结构。
If we have same properties under different folder
like
ms-one
|--- application.properties
|--- application-prod.properties
|--- application-dev.properties
ms-two
|--- application.propert
我正在尝试为我的一个项目配置。它以前很好用。然而,使用最新版本的Spring,当我试图启用身份验证时,我陷入了麻烦。这是我看到的原木。
INFO Fetching config from server at : http://localhost:8888
WARN Could not locate PropertySource: Could not extract response: no suitable HttpMessageConverter found for response type [class org.springframework.cloud.config.environ
当我试图运行Eureka命名服务器时,我得到了一个错误。请在下面找到我的代码:
@SpringBootApplication
@EnableEurekaServer // Enabling eureka naming server
public class NetflixEurekaNamingServerApplication {
public static void main(String[] args) { // main class
SpringApplication.run(NetflixEurekaNamingServerApplication.clas
我正在尝试设置一个Spring Boot / Gradle项目来使用bootBuildImage来构建我的Docker镜像,但是遇到了一个障碍。在我们的构建服务器上,我们有有限的外部网络访问;我们使用私有的nexus库。
当我尝试运行bootBuildImage任务时,它试图从repo.spring.io请求一个文件:
[creator] unable to invoke layer creator
[creator] unable to contribute spring-cloud-bindings layer
[creator] unable to get dep