• 카테고리

    질문 & 답변
  • 세부 분야

    백엔드

  • 해결 여부

    미해결

[rabbitmq 연결 불가] config-service에서 연결 불가 문의

21.08.12 11:16 작성 조회수 649

0

안녕하세요 강사님.

강의 잘듣고있습니다 

dependency를 추가하고 부트를 기동하면 rabbitmq host에 컨넥션을 하다가 결국 안되고 에러가 나오는데요 

이런 증상은 어떻게 해결해야할지 문의 드립니다..

답변 주시면 감사하겠습니다.

<pom.xml>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bus-amqp</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bootstrap</artifactId>
</dependency>

<application.yml>

spring:
application:
name: config-service
rabbitmq:
host: 192.xxx.x.xx
port: 3000
username: guest
password: guest

(부팅시 오류내용)

***************************

APPLICATION FAILED TO START

***************************

Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

    org.springframework.cloud.stream.binder.rabbit.RabbitMessageChannelBinder.createConsumerEndpoint(RabbitMessageChannelBinder.java:517)

The following method did not exist:

    'void org.springframework.integration.amqp.inbound.AmqpInboundChannelAdapter.<init>(org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer)'

The method's class, org.springframework.integration.amqp.inbound.AmqpInboundChannelAdapter, is available from the following locations:

    jar:file:/Users/seunghapark/.m2/repository/org/springframework/integration/spring-integration-amqp/5.5.2/spring-integration-amqp-5.5.2.jar!/org/springframework/integration/amqp/inbound/AmqpInboundChannelAdapter.class

The class hierarchy was loaded from the following locations:

    org.springframework.integration.amqp.inbound.AmqpInboundChannelAdapter: file:/Users/seunghapark/.m2/repository/org/springframework/integration/spring-integration-amqp/5.5.2/spring-integration-amqp-5.5.2.jar

    org.springframework.integration.endpoint.MessageProducerSupport: file:/Users/seunghapark/.m2/repository/org/springframework/integration/spring-integration-core/5.5.2/spring-integration-core-5.5.2.jar

    org.springframework.integration.endpoint.AbstractEndpoint: file:/Users/seunghapark/.m2/repository/org/springframework/integration/spring-integration-core/5.5.2/spring-integration-core-5.5.2.jar

    org.springframework.integration.context.IntegrationObjectSupport: file:/Users/seunghapark/.m2/repository/org/springframework/integration/spring-integration-core/5.5.2/spring-integration-core-5.5.2.jar

Action:

Correct the classpath of your application so that it contains a single, compatible version of org.springframework.integration.amqp.inbound.AmqpInboundChannelAdapter

Process finished with exit code 1

답변 5

·

답변을 작성해보세요.

1

kim미소 파파님의 프로필

kim미소 파파

2021.08.31

2.5.4버전에서 포트를 5672로 했더니 에러 없이 연결이 되요

0

Corwin님의 프로필

Corwin

2021.08.20

2.5.3에서 사용하려면 spring-cloud-starter-bus-amqp대신에 spring-boot-starter-amqp를 써야할듯 합니다.

https://www.programmersought.com/article/43539391313/

아니면 2.4.6으로 다운 그레이드해야 되는 것 같습니다.

https://www.python2.net/questions-1815426.htm

0

caris님의 프로필

caris

질문자

2021.08.13

넵 답변 감사드립니다 

2.5.2 버전으로 하면.. 이렇게 나오는데요

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.2</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com</groupId>
<artifactId>config-service</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>config-service</name>
<description>Demo project for Spring Boot</description>
<properties>
<java.version>11</java.version>
<spring-cloud.version>2020.0.1</spring-cloud.version>
</properties>
<dependencies>

-----------------------------------------------------------------------------------

<오류내용>

"/Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home/bin/java" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=51580:/Applications/IntelliJ IDEA.app/Contents/bin -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dfile.encoding=UTF-8 -classpath /Users/seunghapark/dev_local_/dev-spring-cloud-project/config-service/target/classes:/Users/seunghapark/.m2/repository/org/springframework/cloud/spring-cloud-config-server/3.0.2/spring-cloud-config-server-3.0.2.jar:/Users/seunghapark/.m2/repository/org/springframework/cloud/spring-cloud-config-client/3.0.2/spring-cloud-config-client-3.0.2.jar:/Users/seunghapark/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.5.2/spring-boot-autoconfigure-2.5.2.jar:/Users/seunghapark/.m2/repository/org/springframework/cloud/spring-cloud-commons/3.0.1/spring-cloud-commons-3.0.1.jar:/Users/seunghapark/.m2/repository/org/springframework/cloud/spring-cloud-context/3.0.1/spring-cloud-context-3.0.1.jar:/Users/seunghapark/.m2/repository/org/springframework/spring-web/5.3.8/spring-web-5.3.8.jar:/Users/seunghapark/.m2/repository/org/springframework/spring-beans/5.3.8/spring-beans-5.3.8.jar:/Users/seunghapark/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.12.3/jackson-annotations-2.12.3.jar:/Users/seunghapark/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.12.3/jackson-databind-2.12.3.jar:/Users/seunghapark/.m2/repository/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar:/Users/seunghapark/.m2/repository/commons-codec/commons-codec/1.15/commons-codec-1.15.jar:/Users/seunghapark/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.5.2/spring-boot-starter-web-2.5.2.jar:/Users/seunghapark/.m2/repository/org/springframework/boot/spring-boot-starter-json/2.5.2/spring-boot-starter-json-2.5.2.jar:/Users/seunghapark/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.12.3/jackson-datatype-jdk8-2.12.3.jar:/Users/seunghapark/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.12.3/jackson-module-parameter-names-2.12.3.jar:/Users/seunghapark/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/2.5.2/spring-boot-starter-tomcat-2.5.2.jar:/Users/seunghapark/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.48/tomcat-embed-core-9.0.48.jar:/Users/seunghapark/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/9.0.48/tomcat-embed-websocket-9.0.48.jar:/Users/seunghapark/.m2/repository/org/springframework/spring-webmvc/5.3.8/spring-webmvc-5.3.8.jar:/Users/seunghapark/.m2/repository/org/springframework/spring-aop/5.3.8/spring-aop-5.3.8.jar:/Users/seunghapark/.m2/repository/org/springframework/spring-context/5.3.8/spring-context-5.3.8.jar:/Users/seunghapark/.m2/repository/org/springframework/spring-expression/5.3.8/spring-expression-5.3.8.jar:/Users/seunghapark/.m2/repository/org/springframework/boot/spring-boot-starter-validation/2.5.2/spring-boot-starter-validation-2.5.2.jar:/Users/seunghapark/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/9.0.48/tomcat-embed-el-9.0.48.jar:/Users/seunghapark/.m2/repository/org/hibernate/validator/hibernate-validator/6.2.0.Final/hibernate-validator-6.2.0.Final.jar:/Users/seunghapark/.m2/repository/jakarta/validation/jakarta.validation-api/2.0.2/jakarta.validation-api-2.0.2.jar:/Users/seunghapark/.m2/repository/org/jboss/logging/jboss-logging/3.4.2.Final/jboss-logging-3.4.2.Final.jar:/Users/seunghapark/.m2/repository/com/fasterxml/classmate/1.5.1/classmate-1.5.1.jar:/Users/seunghapark/.m2/repository/org/springframework/security/spring-security-crypto/5.5.1/spring-security-crypto-5.5.1.jar:/Users/seunghapark/.m2/repository/org/springframework/security/spring-security-rsa/1.0.9.RELEASE/spring-security-rsa-1.0.9.RELEASE.jar:/Users/seunghapark/.m2/repository/org/bouncycastle/bcpkix-jdk15on/1.64/bcpkix-jdk15on-1.64.jar:/Users/seunghapark/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.64/bcprov-jdk15on-1.64.jar:/Users/seunghapark/.m2/repository/org/eclipse/jgit/org.eclipse.jgit/5.1.3.201810200350-r/org.eclipse.jgit-5.1.3.201810200350-r.jar:/Users/seunghapark/.m2/repository/com/jcraft/jsch/0.1.55/jsch-0.1.55.jar:/Users/seunghapark/.m2/repository/com/jcraft/jzlib/1.1.1/jzlib-1.1.1.jar:/Users/seunghapark/.m2/repository/com/googlecode/javaewah/JavaEWAH/1.1.6/JavaEWAH-1.1.6.jar:/Users/seunghapark/.m2/repository/org/slf4j/slf4j-api/1.7.31/slf4j-api-1.7.31.jar:/Users/seunghapark/.m2/repository/org/eclipse/jgit/org.eclipse.jgit.http.apache/5.1.3.201810200350-r/org.eclipse.jgit.http.apache-5.1.3.201810200350-r.jar:/Users/seunghapark/.m2/repository/org/apache/httpcomponents/httpcore/4.4.14/httpcore-4.4.14.jar:/Users/seunghapark/.m2/repository/org/yaml/snakeyaml/1.28/snakeyaml-1.28.jar:/Users/seunghapark/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.12.3/jackson-dataformat-yaml-2.12.3.jar:/Users/seunghapark/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.12.3/jackson-core-2.12.3.jar:/Users/seunghapark/.m2/repository/org/springframework/boot/spring-boot-starter/2.5.2/spring-boot-starter-2.5.2.jar:/Users/seunghapark/.m2/repository/org/springframework/boot/spring-boot/2.5.2/spring-boot-2.5.2.jar:/Users/seunghapark/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.5.2/spring-boot-starter-logging-2.5.2.jar:/Users/seunghapark/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar:/Users/seunghapark/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar:/Users/seunghapark/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.14.1/log4j-to-slf4j-2.14.1.jar:/Users/seunghapark/.m2/repository/org/apache/logging/log4j/log4j-api/2.14.1/log4j-api-2.14.1.jar:/Users/seunghapark/.m2/repository/org/slf4j/jul-to-slf4j/1.7.31/jul-to-slf4j-1.7.31.jar:/Users/seunghapark/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5.jar:/Users/seunghapark/.m2/repository/org/springframework/spring-core/5.3.8/spring-core-5.3.8.jar:/Users/seunghapark/.m2/repository/org/springframework/spring-jcl/5.3.8/spring-jcl-5.3.8.jar:/Users/seunghapark/.m2/repository/org/springframework/boot/spring-boot-starter-actuator/2.5.2/spring-boot-starter-actuator-2.5.2.jar:/Users/seunghapark/.m2/repository/org/springframework/boot/spring-boot-actuator-autoconfigure/2.5.2/spring-boot-actuator-autoconfigure-2.5.2.jar:/Users/seunghapark/.m2/repository/org/springframework/boot/spring-boot-actuator/2.5.2/spring-boot-actuator-2.5.2.jar:/Users/seunghapark/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.12.3/jackson-datatype-jsr310-2.12.3.jar:/Users/seunghapark/.m2/repository/io/micrometer/micrometer-core/1.7.1/micrometer-core-1.7.1.jar:/Users/seunghapark/.m2/repository/org/hdrhistogram/HdrHistogram/2.1.12/HdrHistogram-2.1.12.jar:/Users/seunghapark/.m2/repository/org/latencyutils/LatencyUtils/2.0.3/LatencyUtils-2.0.3.jar:/Users/seunghapark/.m2/repository/org/springframework/cloud/spring-cloud-starter-bus-amqp/3.0.2/spring-cloud-starter-bus-amqp-3.0.2.jar:/Users/seunghapark/.m2/repository/org/springframework/cloud/spring-cloud-starter-stream-rabbit/3.1.1/spring-cloud-starter-stream-rabbit-3.1.1.jar:/Users/seunghapark/.m2/repository/org/springframework/cloud/spring-cloud-stream-binder-rabbit/3.1.1/spring-cloud-stream-binder-rabbit-3.1.1.jar:/Users/seunghapark/.m2/repository/org/springframework/cloud/spring-cloud-stream-binder-rabbit-core/3.1.1/spring-cloud-stream-binder-rabbit-core-3.1.1.jar:/Users/seunghapark/.m2/repository/org/springframework/integration/spring-integration-amqp/5.5.1/spring-integration-amqp-5.5.1.jar:/Users/seunghapark/.m2/repository/com/rabbitmq/http-client/2.1.0.RELEASE/http-client-2.1.0.RELEASE.jar:/Users/seunghapark/.m2/repository/org/springframework/cloud/spring-cloud-stream/3.1.1/spring-cloud-stream-3.1.1.jar:/Users/seunghapark/.m2/repository/org/springframework/cloud/spring-cloud-function-context/3.1.1/spring-cloud-function-context-3.1.1.jar:/Users/seunghapark/.m2/repository/net/jodah/typetools/0.6.2/typetools-0.6.2.jar:/Users/seunghapark/.m2/repository/org/springframework/cloud/spring-cloud-function-core/3.1.1/spring-cloud-function-core-3.1.1.jar:/Users/seunghapark/.m2/repository/org/springframework/boot/spring-boot-starter-amqp/2.5.2/spring-boot-starter-amqp-2.5.2.jar:/Users/seunghapark/.m2/repository/org/springframework/amqp/spring-rabbit/2.3.9/spring-rabbit-2.3.9.jar:/Users/seunghapark/.m2/repository/org/springframework/amqp/spring-amqp/2.3.9/spring-amqp-2.3.9.jar:/Users/seunghapark/.m2/repository/com/rabbitmq/amqp-client/5.12.0/amqp-client-5.12.0.jar:/Users/seunghapark/.m2/repository/org/springframework/integration/spring-integration-jmx/5.5.1/spring-integration-jmx-5.5.1.jar:/Users/seunghapark/.m2/repository/org/springframework/cloud/spring-cloud-bus/3.0.1/spring-cloud-bus-3.0.1.jar:/Users/seunghapark/.m2/repository/org/springframework/integration/spring-integration-core/5.5.1/spring-integration-core-5.5.1.jar:/Users/seunghapark/.m2/repository/org/springframework/spring-messaging/5.3.8/spring-messaging-5.3.8.jar:/Users/seunghapark/.m2/repository/org/springframework/spring-tx/5.3.8/spring-tx-5.3.8.jar:/Users/seunghapark/.m2/repository/org/springframework/retry/spring-retry/1.3.1/spring-retry-1.3.1.jar:/Users/seunghapark/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar:/Users/seunghapark/.m2/repository/io/projectreactor/reactor-core/3.4.7/reactor-core-3.4.7.jar:/Users/seunghapark/.m2/repository/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar:/Users/seunghapark/.m2/repository/org/springframework/cloud/spring-cloud-starter-bootstrap/3.0.1/spring-cloud-starter-bootstrap-3.0.1.jar:/Users/seunghapark/.m2/repository/org/springframework/cloud/spring-cloud-starter/3.0.1/spring-cloud-starter-3.0.1.jar com.configservice.ConfigServiceApplication

  .   ____          _            __ _ _

 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \

( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \

 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )

  '  |____| .__|_| |_|_| |_\__, | / / / /

 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::                (v2.5.2)

2021-08-13 10:35:30.102  INFO 2109 --- [           main] c.c.ConfigServiceApplication             : The following profiles are active: git

2021-08-13 10:35:30.482  INFO 2109 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=91e4c40f-642a-336d-b7b1-5a19d4d75c7d

2021-08-13 10:35:30.486  INFO 2109 --- [           main] o.s.c.a.ConfigurationClassEnhancer       : @Bean method FunctionConfiguration.po is non-static and returns an object assignable to Spring's BeanFactoryPostProcessor interface. This will result in a failure to process annotations such as @Autowired, @Resource and @PostConstruct within the method's declaring @Configuration class. Add the 'static' modifier to this method to avoid these container lifecycle issues; see @Bean javadoc for complete details.

2021-08-13 10:35:30.492  INFO 2109 --- [           main] faultConfiguringBeanFactoryPostProcessor : No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created.

2021-08-13 10:35:30.503  INFO 2109 --- [           main] faultConfiguringBeanFactoryPostProcessor : No bean named 'integrationHeaderChannelRegistry' has been explicitly defined. Therefore, a default DefaultHeaderChannelRegistry will be created.

2021-08-13 10:35:30.527  INFO 2109 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.stream.config.BindersHealthIndicatorAutoConfiguration' of type [org.springframework.cloud.stream.config.BindersHealthIndicatorAutoConfiguration$$EnhancerBySpringCGLIB$$f1f8bf06] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2021-08-13 10:35:30.529  INFO 2109 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'bindersHealthContributor' of type [org.springframework.cloud.stream.config.BindersHealthIndicatorAutoConfiguration$BindersHealthContributor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2021-08-13 10:35:30.530  INFO 2109 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'bindersHealthIndicatorListener' of type [org.springframework.cloud.stream.config.BindersHealthIndicatorAutoConfiguration$BindersHealthIndicatorListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2021-08-13 10:35:30.533  INFO 2109 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.integration.config.IntegrationManagementConfiguration' of type [org.springframework.integration.config.IntegrationManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2021-08-13 10:35:30.535  INFO 2109 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.integration.IntegrationAutoConfiguration$IntegrationJmxConfiguration' of type [org.springframework.boot.autoconfigure.integration.IntegrationAutoConfiguration$IntegrationJmxConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2021-08-13 10:35:30.538  INFO 2109 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration' of type [org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2021-08-13 10:35:30.540  INFO 2109 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'mbeanServer' of type [com.sun.jmx.mbeanserver.JmxMBeanServer] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2021-08-13 10:35:30.545  INFO 2109 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'integrationChannelResolver' of type [org.springframework.integration.support.channel.BeanFactoryChannelResolver] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2021-08-13 10:35:30.545  INFO 2109 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'integrationDisposableAutoCreatedBeans' of type [org.springframework.integration.config.annotation.Disposables] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2021-08-13 10:35:30.631  INFO 2109 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8888 (http)

2021-08-13 10:35:30.634  INFO 2109 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]

2021-08-13 10:35:30.634  INFO 2109 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.48]

2021-08-13 10:35:30.680  INFO 2109 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext

2021-08-13 10:35:30.680  INFO 2109 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 572 ms

2021-08-13 10:35:31.108  INFO 2109 --- [           main] o.s.c.s.m.DirectWithAttributesChannel    : Channel 'application-1.springCloudBusInput' has 1 subscriber(s).

2021-08-13 10:35:31.210  WARN 2109 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'compositeCompatibilityVerifier' defined in class path resource [org/springframework/cloud/configuration/CompatibilityVerifierAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.configuration.CompositeCompatibilityVerifier]: Factory method 'compositeCompatibilityVerifier' threw exception; nested exception is org.springframework.cloud.configuration.CompatibilityNotMetException

2021-08-13 10:35:31.215  INFO 2109 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]

2021-08-13 10:35:31.225  INFO 2109 --- [           main] ConditionEvaluationReportLoggingListener : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

2021-08-13 10:35:31.230 ERROR 2109 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 

***************************

APPLICATION FAILED TO START

***************************

Description:

Your project setup is incompatible with our requirements due to following reasons:

- Spring Boot [2.5.2] is not compatible with this Spring Cloud release train

Action:

Consider applying the following actions:

- Change Spring Boot version to one of the following versions [2.3.x, 2.4.x] .

You can find the latest Spring Boot versions here [https://spring.io/projects/spring-boot#learn]. 

If you want to learn more about the Spring Cloud Release train compatibility, you can visit this page [https://spring.io/projects/spring-cloud#overview] and check the [Release Trains] section.

If you want to disable this check, just set the property [spring.cloud.compatibility-verifier.enabled=false]

Process finished with exit code 1

-----------------------------------------------------------------------------------

인텔리제이는 유료 버전으로 사용중이구요

rabbitmq는 docker images로 올렸고 3000:15672로 라우팅했습니다

스프링부트 버전을 2.4.x으로 해도 안되고 2.5.x으로 해도 안됩니다..

설정을 혹시 놓친 부분이 있을까요?

확인해주시면 감사하겠습니다 

0

안녕하세요, 이도원입니다. 

혹시, spring boot 버전을 2.5.3으로 설정되었는지 확인해 보시고, 2.5.3 버전이라면 2.5.2 버전으로 설정하시고 실행해 보시기 바랍니다. 원인을 확인해 보고는 있지만, 2.5.3 버전으로 했을 경우에 위와 같은 오류가 발생함을 확인하였습니다. 

감사합니다.

0

황주환님의 프로필

황주환

2021.08.12

rabbit mq 포트  설정이 잘못된거 아닌가여??

3000 포트 사용하는건 강의 후반에 grafana 사용할 때 사용하실꺼고 rabbitmq는 5672 포트를 사용할겁니다.