structurizr / lite

Structurizr Lite
https://docs.structurizr.com/lite
MIT License
269 stars 32 forks source link

3 Java warnings in Docker container startup output #150

Open marcleblanc2 opened 4 months ago

marcleblanc2 commented 4 months ago

Expected

Docker container startup output without warnings

Actual

Docker container startup output includes these 3 warnings:

Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts

2024-07-15T16:03:49.837Z  WARN 1 --- [           main] o.a.l.i.v.VectorizationProvider          : Java vector incubator module is not readable. For optimal vector performance, pass '--add-modules jdk.incubator.vector' to enable Vector API.

WARNING: A restricted method in java.lang.foreign.Linker has been called
WARNING: java.lang.foreign.Linker::downcallHandle has been called by the unnamed module
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for this module

Steps to reproduce

Run this Docker command docker run -it --rm -p 8080:8080 -v .:/usr/local/structurizr structurizr/lite

Watch output

Version/build information

Structurizr Lite
 - build: 2024.07.02 (2024-07-02T12:09:42Z)
 - structurizr-java: v2.2.0
 - structurizr-dsl: v2.2.0
 - structurizr-import: v2.2.0
 - structurizr-graphviz: v2.2.0

Severity

Minor

Priority

I have no budget and there's no rush, please fix this for free

More information

If you have guidance / a recommended approach to resolving these, I could try to fix and open a PR, but I haven't spent much time with Java and don't know where to begin at this point.

Thank you!

marcleblanc2 commented 4 months ago

BTW, I love what you're doing with Structurizr, and I'm hopeful that someone will use it to build a tool to generate the DSL from a Helm chart :)