$ docker logs [APP_CID]
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.10.RELEASE)
2021-01-12 20:53:07.509 INFO 1 --- [ main] hello.Application : Starting Application v0.1.0 on 54ddc091e225 with PID 1 (/app.jar started by root in /)
2021-01-12 20:53:07.517 INFO 1 --- [ main] hello.Application : No active profile set, falling back to default profiles: default
2021-01-12 20:53:07.672 INFO 1 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@28701274: startup date [Tue Jan 12 20:53:07 UTC 2021]; root of context hierarchy
...
Expected Results
App starts up with no warnings
Actual Results (including error logs, if applicable)
App logs show this warning:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (jar:file:/app.jar!/BOOT-INF/lib/spring-core-4.3.14.RELEASE.jar!/) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Summary
When you run the app, it gives you a warning that it's doing something that should not be allowed and will not be supported in the future.
Steps to Reproduce
Run the app against a remote postgres DB instance:
Look at the app logs
Expected Results
App starts up with no warnings
Actual Results (including error logs, if applicable)
App logs show this warning:
Reproducible
Version/Tag number
latest
Environment setup
Just running Docker container on local machine.
Additional Information
n/a