X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.22.2a (ClamAV engine v0.102.2) X-Junk-Score: 0 [] X-KAS-Score: 0 [] From: "=?utf-8?Q?Stefan_G=C3=A4rtner?=" Received: from mail03.noris.net ([62.128.1.223] verified) by post.selbstdenker.com (CommuniGate Pro SMTP 6.3.3) with ESMTPS id 26514853 for webobjects-dev@wocommunity.org; Mon, 27 Sep 2021 07:55:40 +0200 Received-SPF: none receiver=post.selbstdenker.com; client-ip=62.128.1.223; envelope-from=stefan.gaertner@nureg.de Received: from mail.nureg.de ([62.128.10.225]) by mail03.noris.net with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1mUjbj-0001lJ-Ic for webobjects-dev@wocommunity.org; Mon, 27 Sep 2021 07:55:19 +0200 Received: from [192.168.253.173] by mail.nureg.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mUjbi-004Tde-C0 for webobjects-dev@wocommunity.org; Mon, 27 Sep 2021 07:55:19 +0200 Content-Type: multipart/alternative; boundary="Apple-Mail=_7625F18F-745E-4205-BFE6-199DEA24B590" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: [WO-DEV] New project help Date: Mon, 27 Sep 2021 07:55:20 +0200 References: To: WebObjects & WOnder Development In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.104.21) X-Noris-IP: 62.128.10.225 --Apple-Mail=_7625F18F-745E-4205-BFE6-199DEA24B590 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 As an alternative, there is actually a proper configuration in Eclipse = for the exports, see https://stackoverflow.com/a/54071487 Source module: java.base Package: sun.security.action Best regards, Stefan > Am 25.09.2021 um 20:00 schrieb Hugi Thordarson = : >=20 > If you want to, you can add it as a default argument for the JRE in = Eclipse. >=20 > Eclipse -> Preferences -> Java -> Installed JREs > Select the JRE you want to change > Click edit > Add the option to the field "Default VM Arguments" (those get applied = to all launch configurations using the JRE) >=20 > - hugi >=20 >=20 >> On 25 Sep 2021, at 17:55, Theodore Petrosky = wrote: >>=20 >> So I found how to add it to an app.. should I be adding it to a = global setting? >>=20 >> Ted >>=20 >>> On Sep 25, 2021, at 1:47 PM, Theodore Petrosky = wrote: >>>=20 >>> Help me out. Where do I add this in Eclipse? >>>=20 >>> Ted >>>=20 >>>> On Sep 25, 2021, at 1:00 PM, Hugi Thordarson = wrote: >>>>=20 >>>> Hi Theodore, >>>> to make JDK 17 happy you'll have to add this to your launch = configuration's VM arguments: >>>>=20 >>>> --add-exports java.base/sun.security.action=3DALL-UNNAMED >>>>=20 >>>> Cheers, >>>> - hugi >>>>=20 >>>>=20 >>>>> On 25 Sep 2021, at 16:54, Theodore Petrosky = wrote: >>>>>=20 >>>>> I just created a new D2W app with a separate framework for the = model. >>>>>=20 >>>>> This is my first time building (debug) in eclipse a new app. My = old apps build and run fine. Here is my error: >>>>>=20 >>>>> 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(NSTim= estampFormatter.java:734) >>>>> at = com.webobjects.appserver.WOStatisticsStore.(WOStatisticsStore.java= :249) >>>>> at = com.webobjects.appserver.WOApplication.(WOApplication.java:853) >>>>> at = er.extensions.appserver.ajax.ERXAjaxApplication.(ERXAjaxApplication.= java:30) >>>>> at = er.extensions.appserver.ERXApplication.(ERXApplication.java:1129) >>>>> at com.tedpet.Application.(Application.java:11) >>>>> at = java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(= Native Method) >>>>> at = java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(N= ativeConstructorAccessorImpl.java:77) >>>>> at = java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstan= ce(DelegatingConstructorAccessorImpl.java:45) >>>>> at = java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.= java:499) >>>>> at = java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:1= 28) >>>>> at = java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFac= tory.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) >>>>>=20 >>>>> I am using jdk-17.jdk. >>>>>=20 >>>>> Is this just a configuration error. >>>>>=20 >>>>> Ted >>>>> ############################################################# >>>>> This message is sent to you because you are subscribed to >>>>> the mailing list . >>>>> To unsubscribe, E-mail to: >>>>> To switch to the DIGEST mode, E-mail to = >>>>> To switch to the INDEX mode, E-mail to = >>>>> Send administrative queries to = >>>>>=20 >>>>=20 >>>>=20 >>>> ############################################################# >>>> This message is sent to you because you are subscribed to >>>> the mailing list . >>>> To unsubscribe, E-mail to: >>>> To switch to the DIGEST mode, E-mail to = >>>> To switch to the INDEX mode, E-mail to = >>>> Send administrative queries to = >>>>=20 >>>=20 >>>=20 >>> ############################################################# >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to = >>> To switch to the INDEX mode, E-mail to = >>> Send administrative queries to = >>>=20 >>=20 >>=20 >> ############################################################# >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to = >> To switch to the INDEX mode, E-mail to = >> Send administrative queries to = >>=20 >=20 >=20 > ############################################################# > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to = > To switch to the INDEX mode, E-mail to = > Send administrative queries to = >=20 -- Mit freundlichen Gr=C3=BC=C3=9Fen Stefan G=C3=A4rtner /// IT/Software-Entwicklung /// NUREG GmbH /// Dorf=C3=A4ckerstra=C3=9Fe 31 | 90427 N=C3=BCrnberg | Germany Tel.: +49-911-32002-183 | Fax: +49-911-32002-299 N=C3=BCrnberg HRB 22653 | USt.ID DE 814 685 653 Gesch=C3=A4ftsf=C3=BChrer: Michael Schmidt, Stefan Boas www.nureg.de --Apple-Mail=_7625F18F-745E-4205-BFE6-199DEA24B590 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 As = an alternative, there is actually a proper configuration in Eclipse for = the exports, see https://stackoverflow.com/a/54071487

Source module: java.base
Package: sun.security.action

Best regards,
Stefan



Am 25.09.2021 um 20:00 schrieb Hugi = Thordarson <webobjects-dev@wocommunity.org>:

If = you want to, you can add it as a default argument for the JRE in = Eclipse.

Eclipse -> Preferences -> = Java -> Installed JREs
Select the JRE you want to = change
Click edit
Add the option to the = field "Default VM Arguments" (those get applied to all launch = configurations using the JRE)

- hugi


On 25 Sep 2021, at 17:55, Theodore Petrosky <webobjects-dev@wocommunity.org> wrote:
So I found how to add it to an app.. should I be adding it = to a global setting?

Ted

On Sep 25, 2021, at 1:47 = PM, Theodore Petrosky <webobjects-dev@wocommunity.org> wrote:
Help me out. Where do I add this in Eclipse?
Ted

On Sep 25, 2021, at 1:00 PM, Hugi Thordarson <webobjects-dev@wocommunity.org> wrote:
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=3DALL-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)<= br class=3D""> = at = com.webobjects.foundation.NSTimestampFormatter.defaultFormatTimeZone(NSTim= estampFormatter.java:734)
at = com.webobjects.appserver.WOStatisticsStore.<clinit>(WOStatisticsStor= e.java:249)
at = com.webobjects.appserver.WOApplication.<init>(WOApplication.java:853= )
= at = er.extensions.appserver.ajax.ERXAjaxApplication.<init>(ERXAjaxApplic= ation.java:30)
at = er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:11= 29)
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(N= ativeConstructorAccessorImpl.java:77)
at = java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstan= ce(DelegatingConstructorAccessorImpl.java:45)
at = java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.= java:499)
at = java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:1= 28)
at = java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFac= tory.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>



#############################################################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>



#############################################################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>



#############################################################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>



#############################################################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>




--
Mit = freundlichen Gr=C3=BC=C3=9Fen

Stefan G=C3=A4rtner
/// IT/Software-Entwicklung ///

NUREG GmbH ///
Dorf=C3=A4ckerstra=C3=9Fe 31 | = 90427 N=C3=BCrnberg | Germany
Tel.: +49-911-32002-183 = | Fax: +49-911-32002-299
N=C3=BCrnberg HRB 22653 = | USt.ID DE 814 685 653
Gesch=C3=A4ftsf=C3=BChrer: = Michael Schmidt, Stefan Boas
www.nureg.de



= --Apple-Mail=_7625F18F-745E-4205-BFE6-199DEA24B590--