In Eclipse create my first WonderApplication, Eclipse workspace is set to Java Compiler 1.8 compliance, no other changes or configs.
Aug 23 16:37:28 BasicConcepts[49665] WARN NSLog - Application project found: Will locate resources in '/Users/ruggiero/Programming/eclipseWorkspace/BasicConcepts' rather than '/Users/ruggiero/Programming/eclipseWorkspace/BasicConcepts/' .
Aug 23 16:37:28 BasicConcepts[49665] WARN er.extensions.appserver.ERXResourceManager - Application project found: Will locate resources in '/Users/ruggiero/Programming/eclipseWorkspace/BasicConcepts' rather than '/Users/ruggiero/Programming/eclipseWorkspace/BasicConcepts/'.
Aug 23 16:37:28 BasicConcepts[49665] WARN NSLog - A fatal exception occurred: class com.webobjects.foundation.NSTimeZone (in unnamed module @0x6c2c1385) cannot access class sun.security.action.GetPropertyAction (in module java.base) because module java.base does not export sun.security.action to unnamed module @0x6c2c1385
[2021-8-23 16:37:28 CEST] <main> java.lang.IllegalAccessError: class com.webobjects.foundation.NSTimeZone (in unnamed module @0x6c2c1385) cannot access class sun.security.action.GetPropertyAction (in module java.base) because module java.base does not export sun.security.action to unnamed module @0x6c2c1385
at com.webobjects.foundation.NSTimeZone.systemTimeZone(NSTimeZone.java:971)
at com.webobjects.foundation.NSTimeZone.defaultTimeZone(NSTimeZone.java:818)
at com.webobjects.foundation.NSTimestampFormatter.defaultFormatTimeZone(NSTimestampFormatter.java:734)
at com.webobjects.appserver.WOStatisticsStore.<clinit>(WOStatisticsStore.java:249)
at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:853)
at er.extensions.appserver.ajax.ERXAjaxApplication.<init>(ERXAjaxApplication.java:30)
at er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:1129)
at your.app.Application.<init>(Application.java:10)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128)
at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:350)
at java.base/java.lang.Class.newInstance(Class.java:642)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
at er.extensions.appserver.ERXApplication.main(ERXApplication.java:890)
at your.app.Application.main(Application.java:7)
APPLICATION SHUTDOWN SEQUENCE COMPLETE
Anyone’s got an idea what’s wrong here? What am I missing? Is this related to Java16?