I have been using fakeSMTP-2.0.jar successfully to do my Java development from last 4-5 years. However, from last two days, I have been repeatedly getting the following error message and the application fails to start:
java.lang.IllegalAccessError: class com.nilhcem.fakesmtp.FakeSMTP$1 (in unnamed module @0x12cc3010) cannot access class com.apple.eawt.Application (in module java.desktop) because module java.desktop does not export com.apple.eawt to unnamed module @0x12cc3010
I have always ran the application as sudo on Mac High Sierra (10.13.6) and with Java 8 (jdk1.8.0_261.jdk).
Would appreciate any insight into the issue.