|
Hi Theodore,
to make JDK 17 happy you'll have to add this to your launch configuration's VM arguments:
--add-exports java.base/sun.security.action=ALL-UNNAMED
Cheers,
- hugi
> On 25 Sep 2021, at 16:54, Theodore Petrosky <webobjects-dev@wocommunity.org> wrote:
>
> I just created a new D2W app with a separate framework for the model.
>
> This is my first time building (debug) in eclipse a new app. My old apps build and run fine. Here is my error:
>
> Sep 25 12:43:10 VendorInvoices[52462] WARN NSLog - A fatal exception occurred: class com.webobjects.foundation.NSTimeZone (in unnamed module @0x1a27aae3) cannot access class sun.security.action.GetPropertyAction (in module java.base) because module java.base does not export sun.security.action to unnamed module @0x1a27aae3
> 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 com.tedpet.Application.<init>(Application.java:11)
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
> 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:347)
> at java.base/java.lang.Class.newInstance(Class.java:645)
> at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
> at er.extensions.appserver.ERXApplication.main(ERXApplication.java:890)
> at com.tedpet.Application.main(Application.java:8)
>
> I am using jdk-17.jdk.
>
> Is this just a configuration error.
>
> Ted
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list <webobjects-dev@wocommunity.org>.
> To unsubscribe, E-mail to: <webobjects-dev-off@wocommunity.org>
> To switch to the DIGEST mode, E-mail to <webobjects-dev-digest@wocommunity.org>
> To switch to the INDEX mode, E-mail to <webobjects-dev-index@wocommunity.org>
> Send administrative queries to <webobjects-dev-request@wocommunity.org>
>
|
|