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: "Hugi Thordarson" Received: from mail-03.1984.is ([93.95.224.70] verified) by post.selbstdenker.com (CommuniGate Pro SMTP 6.3.3) with ESMTPS id 26502946 for webobjects-dev@wocommunity.org; Sat, 25 Sep 2021 19:54:28 +0200 Received-SPF: none receiver=post.selbstdenker.com; client-ip=93.95.224.70; envelope-from=hugi@karlmenn.is Received: from localhost by mail-03.1984.is with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mUBsE-0001vN-A6 for webobjects-dev@wocommunity.org; Sat, 25 Sep 2021 17:54:06 +0000 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: [WO-DEV] New project help Date: Sat, 25 Sep 2021 17:54:06 +0000 References: To: WebObjects & WOnder Development In-Reply-To: Message-Id: <450261C6-C43B-4E55-8C78-32D9F977FA8B@karlmenn.is> X-Mailer: Apple Mail (2.3654.120.0.1.13) - Menubar -> Run -> Debug Configurations... - Find your launch configuration under "WOApplication" in the list on = the left and select it. - Select the "Arguments" tab and add the option in the lower textfield = (VM Arguments). - hugi > On 25 Sep 2021, at 17:47, 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