Whitelabel Error Page
This application have no explicit mapping for/error, so is seeing this as a fallback.
Wed Dec 09:43:13 UTC 2016There is an unexpected error (type=internal Server error, status=500).
Error creating Bean with Name ' Enablerediskeyspacenotificationsinitializer ' defined in class path resource [org/springfra Mework/session/data/redis/config/annotation/web/http/redishttpsessionconfiguration.class]: Invocation of Init Method failed; Nested exception is org.springframework.data.redis.RedisConnectionFailureException:Cannot get Jedis connection; Nested exception is Redis.clients.jedis.exceptions.JedisConnectio
These are the errors that appear on the post-deployment page of the Docker environment without Docker starting completely normal with the Java-jar jar package name
Workaround
1 Entering the Docker container
2 Installing Redis (i'm using Ubuntu)
Apt-get Update
Apt-get Install Redis-server
#启动redis
Redis-server/etc/redis/redis.conf
3 and then It's Normal.
Spring Boot Project Deployment a strange problem in calling Redis in Docker