docker-compose -f lnmp.yml up -d WARNING: Some services (mysql, nginx, php, redis) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm. WARNING: Some services (mysql, nginx, php) use the 'configs' key, which will be ignored. Compose does not support 'configs' configuration - use `docker stack deploy` to deploy to a swarm. lnmp_mysql_1 is up-to-date Starting lnmp_redis_1 ... lnmp_nginx_1 is up-to-date Starting lnmp_redis_1 ... error
ERROR: for lnmp_redis_1 Cannot start service redis: b'Mounts denied: \r\nThe path /usr/share/zoneinfo/Asia/Shanghai\r\nis not shared from OS X and is not known to Docker.\r\nYou can configure shared paths from Docker -> Preferences... -> File Sharing.\r\nSee https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.\r\n.'
memory: 100M ERROR: for redis Cannot start service redis: b'Mounts denied: \r\nThe path /usr/share/zoneinfo/Asia/Shanghai\r\nis not shared from OS X and is not known to Docker.\r\nYou can configure shared paths from Docker -> Preferences... -> File Sharing.\r\nSee https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.\r\n.' ERROR: Encountered errors while bringing up the project.
docker-compose -f lnmp.yml up -d WARNING: Some services (mysql, nginx, php, redis) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm. WARNING: Some services (mysql, nginx, php) use the 'configs' key, which will be ignored. Compose does not support 'configs' configuration - use `docker stack deploy` to deploy to a swarm. Removing lnmp_redis_1 Starting lnmp_nginx_1 ... done Starting lnmp_mysql_1 ... done Recreating f5b9db566588_lnmp_redis_1 ... done Starting lnmp_php_1 ... done
Posted onEdited onInTechSymbols count in article: 828Reading time ≈1 mins.
使用jsonwebtoken出现如下错误
1 2 3
Could not initialize class io.jsonwebtoken.impl.DefaultJwtBuilder Java.lang.NoClassDefFoundError: Could not initialize class io.jsonwebtoken.impl.DefaultJwtBuilder at io.jsonwebtoken.Jwts.builder(Jwts.Java:116) ~[jjwt-0.7.0.jar:0.7.0]