jhipster / generator-jhipster

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.
https://www.jhipster.tech
Apache License 2.0
21.54k stars 4.02k forks source link

[WARNING] An illegal reflective access operation has occurred #16319

Closed tsendee0409 closed 11 months ago

tsendee0409 commented 3 years ago

I generated a simple microservice application by Jhipster 7.2.0, it has warnings when the app running.

image

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.hazelcast.internal.networking.nio.SelectorOptimizer (file:/home/jhipster/.m2/repository/com/hazelcast/hazelcast/4.1.5/hazelcast-4.1.5.jar) to field sun.nio.ch.SelectorImpl.selectedKeys WARNING: Please consider reporting this to the maintainers of com.hazelcast.internal.networking.nio.SelectorOptimizer 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

image

tsendee0409 commented 3 years ago

Please check this out. https://docs.hazelcast.com/imdg/4.1/installation/running-in-modular-java.html

pmverma commented 3 years ago

The best is to document or add a tip page rather than adding JVM options in JHipster as there are many ways to provide JVM options and many ways to run the app in both dev/prod environments. Anyway, I believe users also will definitely be providing those options rather than using default or without any options. So the user is the best responsible person for this.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Our core developers tend to be more verbose on denying. If there is no negative comment, possibly this feature will be accepted. We are accepting PRs :smiley:. Comment or this will be closed in 7 days

pmverma commented 2 years ago

Keep it open

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Our core developers tend to be more verbose on denying. If there is no negative comment, possibly this feature will be accepted. We are accepting PRs :smiley:. Comment or this will be closed in 7 days

github-actions[bot] commented 11 months ago

This issue is stale because it has been open for too long without any activity. Due to the moving nature of jhipster generated application, bugs can become invalid. If this issue still applies please comment otherwise it will be closed in 7 days