Skip to content

Error in InetUtilsProperties.timeoutSeconds #99

Description

@GuiForget

I don't believe I'm doing anything funky, I'm simply using spring-cloud-consul with Brixton.M5 and I'm getting this error:

Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private 
int org.springframework.cloud.util.InetUtilsProperties.timeoutSeconds; nested exception is 
org.springframework.beans.TypeMismatchException: Failed to convert value of type [java.lang.String] to
required type [int]; nested exception is java.lang.NumberFormatException: For input string:
"${spring.util.timeout.sec:${SPRING_UTIL_TIMEOUT_SEC:1}}"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions