I am getting this error message when I try to compile my new modularized Java 11 application:
Error occurred during initialization of boot layer java.lang.mo
I tried to install update for TestNG in eclipse: "Help -> Check for updates -> deselect all and select TestNG check box. Then install latest version i installed the version which starts with 7.2.0.
It fixed the issue for me.