Uploaded image for project: 'Spring Boot & Cloud'
  1. Spring Boot & Cloud
  2. SB-1167

SB 2.1.2 DR1 - Hystix 1.4.5 is not compatible with SB 2.1.2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • spring-boot
    • None
    • SB-2019-02-10

      spring-cloud-starter-netflix-hystrix 1.4.5.RELEASE is not compatible with SpringBoot 2.1.2.
      When i want to start test application i get:

      Starting the Java application using /opt/run-java/run-java.sh ...
      exec java -javaagent:/opt/jolokia/jolokia.jar=config=/opt/jolokia/etc/jolokia.properties -XX:+UseParallelOldGC -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=100m -XX:+ExitOnOutOfMemoryError -cp . -jar /deployments/greeting-service-2.0.0-SNAPSHOT.jar
      OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N
      I> No access restrictor found, access to any MBean is allowed
      Jolokia: Agent started with URL https://10.131.1.219:8778/jolokia/ 
      09:56:05.411 [main] DEBUG org.springframework.boot.context.logging.ClasspathLoggingApplicationListener - Application failed to start with classpath: [jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/classes!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-boot-starter-web-2.1.2.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-boot-starter-2.1.2.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-boot-2.1.2.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-boot-autoconfigure-2.1.2.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-boot-starter-logging-2.1.2.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/logback-classic-1.2.3.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/logback-core-1.2.3.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/log4j-to-slf4j-2.11.1.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/log4j-api-2.11.1.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/jul-to-slf4j-1.7.25.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/javax.annotation-api-1.3.2.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-core-5.1.4.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-jcl-5.1.4.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/snakeyaml-1.23.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-boot-starter-json-2.1.2.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/jackson-databind-2.9.8.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/jackson-datatype-jdk8-2.9.8.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/jackson-datatype-jsr310-2.9.8.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/jackson-module-parameter-names-2.9.8.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-boot-starter-tomcat-2.1.2.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/tomcat-embed-core-9.0.7.redhat-12.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/tomcat-embed-el-9.0.7.redhat-12.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/tomcat-embed-websocket-9.0.7.redhat-12.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/hibernate-validator-6.0.14.Final-redhat-00001.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/validation-api-2.0.1.Final.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/jboss-logging-3.3.2.Final.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/classmate-1.4.0.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-web-5.1.4.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-beans-5.1.4.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-webmvc-5.1.4.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-aop-5.1.4.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-context-5.1.4.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-expression-5.1.4.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-cloud-starter-netflix-hystrix-1.4.5.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-cloud-starter-1.3.4.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/
      BOOT-INF/lib/spring-cloud-context-1.3.4.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-security-crypto-5.1.3.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-cloud-commons-1.3.4.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/httpclient-4.5.6.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/httpcore-4.4.10.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/commons-codec-1.11.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-security-rsa-1.0.3.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/bcpkix-jdk15on-1.55.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/bcprov-jdk15on-1.55.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-cloud-netflix-core-1.4.5.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-cloud-starter-netflix-archaius-1.4.5.RELEASE.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/archaius-core-0.7.4.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/jsr305-3.0.1.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/commons-configuration-1.8.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/commons-lang-2.6.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/jackson-annotations-2.9.0.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/jackson-core-2.9.8.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/guava-18.0.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/hystrix-core-1.5.12.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/slf4j-api-1.7.25.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/rxjava-1.3.8.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/HdrHistogram-2.1.9.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/hystrix-metrics-event-stream-1.5.12.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/hystrix-serialization-1.5.12.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/jackson-module-afterburner-2.9.8.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/hystrix-javanica-1.5.12.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/commons-lang3-3.8.1.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/asm-5.0.4.jar!/, jar:file:/deployments/greeting-service-2.0.0-SNAPSHOT.jar!/BOOT-INF/lib/aspectjweaver-1.9.2.jar!/]
      09:56:05.466 [background-preinit] DEBUG org.jboss.logging - Logging Provider: org.jboss.logging.Log4j2LoggerProvider
      09:56:05.467 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 6.0.14.Final-redhat-00001
      09:56:05.482 [background-preinit] DEBUG org.hibernate.validator.internal.engine.resolver.TraversableResolvers - Cannot find javax.persistence.Persistence on classpath. Assuming non JPA 2 environment. All properties will per default be traversable.
      09:56:05.490 [background-preinit] DEBUG org.hibernate.validator.internal.xml.config.ValidationXmlParser - Trying to load META-INF/validation.xml for XML based Validator configuration.
      09:56:05.491 [background-preinit] DEBUG org.hibernate.validator.internal.xml.config.ResourceLoaderHelper - Trying to load META-INF/validation.xml via TCCL
      09:56:05.491 [background-preinit] DEBUG org.hibernate.validator.internal.xml.config.ResourceLoaderHelper - Trying to load META-INF/validation.xml via Hibernate Validator's class loader
      09:56:05.492 [background-preinit] DEBUG org.hibernate.validator.internal.xml.config.ValidationXmlParser - No META-INF/validation.xml found. Using annotation based configuration only.
      09:56:05.672 [background-preinit] DEBUG org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator - Loaded expression factory via original TCCL
      09:56:05.692 [background-preinit] DEBUG org.hibernate.validator.internal.engine.ValidatorFactoryImpl - HV000234: Using org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator as ValidatorFactory-scoped message interpolator.
      09:56:05.693 [background-preinit] DEBUG org.hibernate.validator.internal.engine.ValidatorFactoryImpl - HV000234: Using org.hibernate.validator.internal.engine.resolver.TraverseAllTraversableResolver as ValidatorFactory-scoped traversable resolver.
      09:56:05.693 [background-preinit] DEBUG org.hibernate.validator.internal.engine.ValidatorFactoryImpl - HV000234: Using org.hibernate.validator.internal.util.ExecutableParameterNameProvider as ValidatorFactory-scoped parameter name provider.
      09:56:05.693 [background-preinit] DEBUG org.hibernate.validator.internal.engine.ValidatorFactoryImpl - HV000234: Using org.hibernate.validator.internal.engine.DefaultClockProvider as ValidatorFactory-scoped clock provider.
      09:56:05.693 [background-preinit] DEBUG org.hibernate.validator.internal.engine.ValidatorFactoryImpl - HV000234: Using org.hibernate.validator.internal.engine.scripting.DefaultScriptEvaluatorFactory as ValidatorFactory-scoped script evaluator factory.
      09:56:06.238 [main] ERROR org.springframework.boot.SpringApplication - Application run failed
      java.lang.NoSuchMethodError: org.springframework.boot.builder.SpringApplicationBuilder.<init>([Ljava/lang/Object;)V
      	at org.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext(BootstrapApplicationListener.java:161)
      	at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:102)
      	at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:68)
      	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
      	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
      	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
      	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127)
      	at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:75)
      	at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54)
      	at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:347)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:306)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248)
      	at org.jboss.snowdrop.springboot.GreetingServiceApplication.main(GreetingServiceApplication.java:35)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
      	at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
      	at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
      	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
      
      

            gandrian Georgios Andrianakis
            lfuka Libor Fuka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: