Mailing List webobjects-dev@wocommunity.org Message #336
From: Stavros Panidis <stavros.panidis@gmail.com>
Subject: Installation on osx Monterey
Date: Fri, 24 Dec 2021 06:41:39 +0200
To: <webobjects-dev@wocommunity.org>
Dear,

I recently upgraded to Mac OsX Monterey. My configuration is as follows

-MacBook Pro, 2016, running Mac Monterey 12.1

-Eclispe 2021-12

-Java version as follows

openjdk 17.0.1 2021-10-19
OpenJDK Runtime Environment Temurin-17.0.1+12 (build 17.0.1+12)
OpenJDK 64-Bit Server VM Temurin-17.0.1+12 (build 17.0.1+12, mixed mode, sharing)

Everything seems to be OK, but when I try to run application I get the following error

NSLog  - A fatal exception occurred: class com.webobjects.foundation.NSTimeZone (in unnamed module @0x647c3190) cannot access class sun.security.action.GetPropertyAction (in module java.base) because module java.base does not export sun.security.action to unnamed module @0x647c3190
[2021-12-23 11:52:15 EET] <main> java.lang.IllegalAccessError: class com.webobjects.foundation.NSTimeZone (in unnamed module @0x647c3190) cannot access class sun.security.action.GetPropertyAction (in module java.base) because module java.base does not export sun.security.action to unnamed module @0x647c3190
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 WebInvoice.app.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 WebInvoice.app.Application.main(Application.java:8)

APPLICATION SHUTDOWN SEQUENCE COMPLETE

Any advise?

Many thanks in advance

Stavros
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster