所以我正在對我的代碼進行一些新的更改,並決定做一個清理和構建並得到所有這個博洛尼亞......警告:支持的源代碼版本'RELEASE_6'來自注釋處理器'org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor'
我最近添加了一個新的PU和基於數據庫的persistence.xml,就像我的第一個使用NetBeans IDE一樣,當我遇到一個錯誤時我會做一些查詢,並決定做清潔和建設。
我不確定是什麼原因導致了這種情況,我試圖尋找任何會有@SuportedSourceVersion的東西,因爲我正在尋找答案並找到了答案。
http://bugs.java.com/view_bug.do?bug_id=7184902 https://netbeans.org/bugzilla/show_bug.cgi?id=210286
這是很煩人的,傷心尤其是當沒有太多記載於此。
謝謝大家。
warning: Supported source version 'RELEASE_6' from annotation processor 'org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor' less than -source '1.8'
Note: Creating non-static metadata factory ...
error: com.sun.tools.javac.code.Symbol$CompletionFailure: class file for sun.util.logging.PlatformLogger not found
An annotation processor threw an uncaught exception.
Consult the following stack trace for details.
java.lang.RuntimeException: com.sun.tools.javac.code.Symbol$CompletionFailure: class file for sun.util.logging.PlatformLogger not found
at org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor.process(CanonicalModelProcessor.java:407)
at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:794)
at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:705)
at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:91)
at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1035)
at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1176)
at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)
at com.sun.tools.javac.main.Main.compile(Main.java:523)
at com.sun.tools.javac.main.Main.compile(Main.java:381)
at com.sun.tools.javac.main.Main.compile(Main.java:370)
at com.sun.tools.javac.main.Main.compile(Main.java:361)
at com.sun.tools.javac.Main.compile(Main.java:56)
at com.sun.tools.javac.Main.main(Main.java:42)
Caused by: com.sun.tools.javac.code.Symbol$CompletionFailure: class file for sun.util.logging.PlatformLogger not found
C:\Users\Konrad\Documents\NetBeansProjects\FB-Style-Page-Slide-Menu\Uploader\nbproject\jfx-impl.xml:3438: The following error occurred while executing this line:
C:\Users\Konrad\Documents\NetBeansProjects\FB-Style-Page-Slide-Menu\Uploader\nbproject\build-impl.xml:956: The following error occurred while executing this line:
C:\Users\Konrad\Documents\NetBeansProjects\FB-Style-Page-Slide-Menu\Uploader\nbproject\build-impl.xml:291: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 9 seconds)