After I configured Eclipse Oxygen to work with Java 9, when I go to Source => Generate toString()
I get this error message:
Cannot create method implementations.
Reason: module:java.base is not on its project's build path
Generating the constructor
, getters and setters, hashcode()
and equals()
works fine, only the toString()
doesn't work.
If I type the toString()
method manually it works fine. Also if I create a project using the JRE 8, generate toString()
work fine. Any ideas how to fix it?