Login to create Question

Error parsing externalized integers in spring boot

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'cacheService': Unsatisfied dependency expressed through field 'port'; 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.redis.port"

Views: 590

1 year ago by megamind

Exception while accessing /jsondoc endpoint

Getting following exception wile accessing /jsondoc endpoint in Spring Boot java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.TypeVariableImpl cannot be cast to java.lang.reflect.ParameterizedType

Views: 278

2 years ago by d20160501