Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3 Java warnings in Docker container startup output #150

Open
marcleblanc2 opened this issue Jul 15, 2024 · 1 comment
Open

3 Java warnings in Docker container startup output #150

marcleblanc2 opened this issue Jul 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@marcleblanc2
Copy link

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 marcleblanc2 added the bug Something isn't working label Jul 15, 2024
@marcleblanc2
Copy link
Author

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant