netbeans中实体类代码的bug

用了netbeans中实体类代码后,忽然报错:

com.sun.tools.javac.code.Symbol$CompletionFailure: 找不到sun.util.logging.PlatformLogger的类文件

查找后,按以下方式解决:

  1. 点击右键打开 "项目属性"对话框.
  2. 从左侧选择"" .
  3. 选择"处理程序" 选项卡.
  4. 删除" EclipseLink ".
  5. 应用并重新创建项目,可以正常运行.

参考了Stackflow上的一个帖子:

http://stackoverflow.com/questions/22562797/javafx8-sun-util-logging-platformlogger-not-found-exception-in-netbeans-8

原文地址:https://www.cnblogs.com/legendjslc/p/5133355.html