在idea中的项目在junit单元测试时,不能生成get/set方法,然后报错。
解决方法如下:
idea:File --》 Settings --》Build, Execution, Deployment --》Compiler --》java Compiler :Use compiler:javac
在idea中的项目在junit单元测试时,不能生成get/set方法,然后报错。
解决方法如下:
idea:File --》 Settings --》Build, Execution, Deployment --》Compiler --》java Compiler :Use compiler:javac