मेरे JDK 9 + 181 स्प्रिंग बूट 2.0.0.BUILD-SNAPSHOT CLI आवेदन प्रदर्शित करता है स्टार्टअप पर यह चेतावनी:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (jar:file:/home/jan/src/fm-cli/target/fm-cli-0.1.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-core-5.0.0.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
यह एक सांत्वना है आवेदन, इसलिए मुझे इस चेतावनी को अक्षम करने की आवश्यकता है - मैं यह कैसे कर सकता हूं?
नोट: यह प्रश्न वसंत द्वारा ट्रिगर की गई चेतावनी को अक्षम करने के विशिष्ट प्रश्न पूछता है; यह JDK9: An illegal reflective access operation has occurred. org.python.core.PySystemState का डुप्लिकेट नहीं है जो एक अलग पुस्तकालय में एक समान लक्षण से संबंधित है।
--add-opens java.base/java.lang=ALL-UNNAMED
उदाहरण के लिए
:
मैं जेडीके 9.0.4 के साथ स्प्रिंग बूट 2.0.0.आरसी 1 का उपयोग कर रहा हूं, और एक ही समस्या का सामना कर रहा हूं। क्या आप चाल के बारे में और बता सकते हैं? *** स्विच *** का मतलब क्या है? –
मैंने इसे यहां भी देखा है https://github.com/dsyer/spring-boot-java-9। IntelliJ IDEA के लिए सेट JVM विकल्पों के साथ मुझे मुश्किल है। मुझे नहीं पता कि कैसे उबरना है। –
@DoNhuVy - ऐसा करने के बारे में एक नया प्रश्न पूछने पर विचार करें। आप यहां अधिक जानकारी प्राप्त कर सकते हैं: https://intellij-support.jetbrains.com/hc/en-us/articles/206544869- कॉन्फ़िगरिंग- जेवीएम- विकल्प-and-platform-properties –