[graalvm]sun.reflect.annotation.TypeNotPresentExceptionProxy

165 阅读1分钟

 

Exception in thread "main" java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
	at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724)
	at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531)
	at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
	at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
	at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
	at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
	at java.lang.Class.createAnnotationData(Class.java:3521)
	at java.lang.Class.annotationData(Class.java:3510)
	at java.lang.Class.getAnnotation(Class.java:3415)
	at com.oracle.truffle.polyglot.LanguageCache$Loader$ServicesLoader.loadImpl(LanguageCache.java:810)
	at com.oracle.truffle.polyglot.LanguageCache$Loader.load(LanguageCache.java:490)
	at com.oracle.truffle.polyglot.LanguageCache.createLanguages(LanguageCache.java:205)
	at com.oracle.truffle.polyglot.LanguageCache.loadLanguages(LanguageCache.java:195)
	at com.oracle.truffle.polyglot.LanguageCache.languages(LanguageCache.java:185)
	at com.oracle.truffle.polyglot.PolyglotEngineImpl.initializeLanguages(PolyglotEngineImpl.java:647)
	at com.oracle.truffle.polyglot.PolyglotEngineImpl.<init>(PolyglotEngineImpl.java:205)
	at com.oracle.truffle.polyglot.PolyglotEngineImpl.<init>(PolyglotEngineImpl.java:186)
	at com.oracle.truffle.polyglot.PolyglotImpl.buildEngine(PolyglotImpl.java:195)
	at org.graalvm.polyglot.Engine$Builder.build(Engine.java:506)
	at org.graalvm.polyglot.Context$Builder.build(Context.java:1444)
	at com.oracle.truffle.sl.launcher.SLMain.executeSource(SLMain.java:91)
	at com.oracle.truffle.sl.launcher.SLMain.main(SLMain.java:84)

Process finished with exit code 1

 

尝试升级到JDK11版本