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: "Theodore Petrosky" Received: from sonic304-21.consmr.mail.ne1.yahoo.com ([66.163.191.147] verified) by post.selbstdenker.com (CommuniGate Pro SMTP 6.3.3) with ESMTPS id 26404697 for webobjects-dev@wocommunity.org; Mon, 06 Sep 2021 18:57:11 +0200 Received-SPF: pass receiver=post.selbstdenker.com; client-ip=66.163.191.147; envelope-from=tedpet5@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1630947409; bh=Yx7f1niY4BMMB7PftcXaQz/gNm2TI9DQhHD00p/u0uQ=; h=From:Subject:Date:References:To:In-Reply-To:From:Subject:Reply-To; b=U6vOgQr57L4p/+L3MNH0fsr5isgjnkCUu4go3GpVtGMlzooLX5ZkZwz2rC/ISu2sd/zq7LvwyiZENxOQtIwHALTaANIV/S4h8mfgUMmb1ktAurRd+Hm+lHPPg10vP7QVdejAURWfaK/g8b/EvTNZlKnazSp6OTLK2HCCTVvJBW355XY+DRiazD0sDoB0jSrNFInnXdawZPoIHqpXc42Den99SHEI90eXeE1eOnOMpE73k5/oHttCTNwPH3HEUcOSERyN6AEA8Dfl44eVd6gH43hYyephYWAQf+fEiUrCmD14plLqE3katP0OqQmrW+vsZ9ZkJm2YxbEoiI85ewHltQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1630947409; bh=k3NCtw0gQZ8DyMNuZaCK+02LowEdiujo9HoHy6fhLTG=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=gN1u+oSr7UMnI5L9WOsJPQUe00Ts/ZyY+B3HJ9ECeNnEDcKx9adQA2HHDjbPGe+1WcKrc4YHjJVh3JJdw24McJsWdYPH3AoErJYurdEQ9Qb5ibODSmqKTY6ui8kp/vTd4/+sFKM7wnE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dgKvbf7FWX72U6JDlGv38xxsQNwI jLUdfQcNkMPH9LrjA0AvZDXFD2zAgatAauHMhMhLU3t2Qp3BjgGJmKPC2r.gQFEdFa56NRmWhGJ_ oGceIY1nm_SQJYdpUIwlbUrR_SKnwFvHhaZhAOFK_F6rftAn2Fhq2f4nDgi069OrlAfUht8n1rpa pibnCtEyIyhL6IVPo8vSRLNfhCVVHq9bbOLGNADSsT5bHqpSNHxgcCwDvD8ss3hYKb8ub3qEPHRy YhIspJYNcFycMFaye8Gh4x4up5P8Z00DKDU3ysACPf0Q8nKbb6u5dZ6IQB_glMb.MSPkAQd1eljL OVnx7oRYPQ5G6L_VFhqnxza8zm1m9Y0xKfzNtZfr6PIOYvH8wn5PjvUAsakU1r72mA_thHf9KGoC xJCLTpqEZ2w6hmREdRx11 X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Mon, 6 Sep 2021 16:56:49 +0000 Received: by kubenode525.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID e10ef07d70c2ecd22e0f436bb3832708; Mon, 06 Sep 2021 16:56:44 +0000 (UTC) Content-Type: multipart/alternative; boundary="Apple-Mail=_9A92AA43-D9B4-44FF-BF35-3728630D571C" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: [WO-DEV] New box setup?? Date: Mon, 6 Sep 2021 12:56:42 -0400 References: To: WebObjects & WOnder Development In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3654.120.0.1.13) Content-Length: 27127 --Apple-Mail=_9A92AA43-D9B4-44FF-BF35-3728630D571C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I think I am almost there!!!!.. I downloaded and installed. jdk1.8.0_301.jdk It lives at: /Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk = obviously (/Contents/Home) I set in my .bash_profile = JAVA_HOME=3D/Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk/Contents/Ho= me And indeed this is what shows up in my env command. I cd in the wondersource directory and=20 ant frameworks My =E2=80=9CRoots=E2=80=9D directory is filled with the wonder = frameworks. sudo ant -Duser.home=3D$HOME frameworks.install Installs my wonder frameworks in the proper directory. Eclipse in next. My Java installed JREs default location is listed as: /Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk/Contents/Home Nothing is compiling in eclipse=E2=80=A6 I have cleaned everything and = built everything from scratch. When I right click in eclipse on my = framework and use the WOLips install function, I get an error: compile: BUILD FAILED /Users/asacksadmin/Developer/Eclipse-WO/EltekAccounting_FW/build.xml:87: = java.lang.UnsupportedClassVersionError: = org/objectstyle/woproject/ant/WOCompile has been compiled by a more = recent version of the Java Runtime (class file version 55.0), this = version of the Java Runtime only recognizes class file versions up to = 52.0 BTW: Eclipse version: Version: 4.20.0.20210612-1200 Build id: 20210612-2011 I=E2=80=99m hoping this is just a setting in Eclipse. Thanks. Ted > On Sep 6, 2021, at 1:40 AM, Stefan G=C3=A4rtner = wrote: >=20 > Hello Ted, >=20 >>>>> The package javax.xml.parsers is accessible from more than one = module >>>>> The package org.xml.sax is accessible from more than one module: = , java.xml >=20 >=20 > As a workaround for this, you can set your Eclipse Java target version = to 8. >=20 > Your problem is caused by using a target version >=3D 9, which enables = JDK modularization (aka Project Jigsaw) AND using some XML functionality = being present in module java.xml (from JDK) and (probably the = JavaXML framework). > I've been struggling with the same problem. >=20 > IMO to properly solve this in Wonder, JavaXML should never be enabled = as a transitive dependency by any framework using it. I.e. removing its = exported=3D"true" from the .classpath file. > But maybe there is a better solution for this? >=20 > Best regards, > Stefan >=20 >=20 >=20 >> Am 05.09.2021 um 22:54 schrieb D Tim Cummings = >: >>=20 >> Hi Ted >>=20 >> I recently ported my maven webobjects project to Java 11 on MacOS = Mojave. I was getting a similar error to yours and so I excluded JavaXML = in my pom.xml. I am not sure the solution in fluffy bunny. >>=20 >> com.webobjects >> 5.4.3 =20 >> wonder.core >> 7.2 >> ... >>=20 >> >> ${wonder.core.groupId} >> ERExtensions >> ${wonder.version} >> >> >> ${webobjects.groupId} >> JavaXML >> >> >> >> >> ${wonder.core.groupId} >> ERJavaMail >> ${wonder.version} >> >> >> ${webobjects.groupId} >> JavaXML >> >> >> >> >> wonder.ajax >> Ajax >> ${wonder.version} >> >> >> ${webobjects.groupId} >> JavaXML >> >> >> >> >> ${webobjects.groupId} >> JavaWebObjects >> ${webobjects.version} >> >> >> ${webobjects.groupId} >> JavaXML >> >> >> >>=20 >> At Hugi's suggestion I added back in Xerces which will also have been = excluded by exclduing JavaXML >>=20 >> >> xerces >> xercesImpl >> 2.12.1 >> runtime >> >> Hope this helps >>=20 >> Tim >>=20 >> On 5/9/21 11:31, Theodore Petrosky wrote: >>> What version of Java are you using? >>>=20 >>> What version of Java is being used with WO!! >>>=20 >>> Ted >>>=20 >>>=20 >>>=20 >>>> On Sep 2, 2021, at 10:52 AM, Jesse Tayler = = wrote: >>>>=20 >>>> Did you check your JAVA version? >>>>=20 >>>> It sounds like you need to sync up the Wonder build with your local = compiler to me >>>>=20 >>>> I run Big Slur but I also use an old JAVA because I=E2=80=99m late = to update and test... >>>>=20 >>>>> On Sep 2, 2021, at 9:53 AM, Theodore Petrosky = = wrote: >>>>>=20 >>>>> I have a new computer with Big Sur 11.5.2. I am in the process of = setting this machine up to do WO. >>>>>=20 >>>>> I have installed WO, Java, Wonder 7.3. >>>>>=20 >>>>> Almost there, there are some compile errors with wonder. For = instance ERPDFGeneration has multiple errors: >>>>>=20 >>>>> The package javax.xml.parsers is accessible from more than one = module >>>>> The package org.xml.sax is accessible from more than one module: = , java.xml >>>>>=20 >>>>> What do I need to do to fix this? >>>>>=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 >>>> ############################################################# >>>> 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 >>> ############################################################# >>> 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 >=20 > -- > Mit freundlichen Gr=C3=BC=C3=9Fen >=20 > Stefan G=C3=A4rtner > /// IT/Software-Entwicklung /// >=20 > 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 >=20 >=20 >=20 --Apple-Mail=_9A92AA43-D9B4-44FF-BF35-3728630D571C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I = think I am almost there!!!!..


I downloaded and = installed. jdk1.8.0_301.jdk

It lives at:   = /Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk   obviously = (/Contents/Home)

I set in my .bash_profile =  JAVA_HOME=3D/Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk/Conte= nts/Home

And = indeed this is what shows up in my env command.

I cd in the wondersource directory = and 

ant = frameworks

My = =E2=80=9CRoots=E2=80=9D directory is filled with the wonder = frameworks.

sudo= ant -Duser.home=3D$HOME frameworks.install

Installs my wonder frameworks in the = proper directory.

Eclipse in next.

My Java installed JREs default location is listed = as:
/Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk/Contents/Hom= e

Nothing is = compiling in eclipse=E2=80=A6  I have cleaned everything and built = everything from scratch. When I right click in eclipse on my framework = and use the WOLips install function, I get an error:

compile:

BUILD = FAILED
/Users/asacksadmin/Developer/Eclipse-WO/EltekAccounting_FW/buil= d.xml:87: java.lang.UnsupportedClassVersionError: = org/objectstyle/woproject/ant/WOCompile has been compiled by a more = recent version of the Java Runtime (class file version 55.0), this = version of the Java Runtime only recognizes class file versions up = to 52.0

BTW:   = Eclipse version:
Version: = 4.20.0.20210612-1200
Build id: = 20210612-2011

I=E2=80=99m hoping this is just a setting in = Eclipse.

Thanks.

Ted




On Sep 6, 2021, at 1:40 AM, Stefan G=C3=A4rtner <webobjects-dev@wocommunity.org> wrote:

Hello = Ted,

The package javax.xml.parsers is =
accessible from more than one module
The package org.xml.sax is accessible from more than one module: =
<unnamed>, =
java.xml

As a workaround = for this, you can set your Eclipse Java target version to 8.

Your problem is caused = by using a target version >=3D 9, which enables JDK modularization = (aka Project Jigsaw) AND using some XML functionality being present in = module java.xml (from JDK) and <unnamed> (probably the JavaXML = framework).
I've been struggling with the same = problem.

IMO = to properly solve this in Wonder,  JavaXML should never be enabled = as a transitive dependency by any framework using it. = I.e. removing its exported=3D"true" from = the .classpath file.
But maybe there is a better = solution for this?

Best regards,
Stefan



Am = 05.09.2021 um 22:54 schrieb D Tim Cummings <webobjects-dev@wocommunity.org>:

=20 =20

Hi Ted

I recently = ported my maven webobjects project to Java 11 on MacOS Mojave. I was getting a similar error to yours and so I excluded JavaXML in my pom.xml. I am not sure the solution in fluffy = bunny.

    =
<webobjects.groupId>com.webobjects</webobjects.groupId>
    <webobjects.version>5.4.3</webobjects.version>   =20
    <wonder.core.groupId>wonder.core</wonder.core.groupId>
    <wonder.version>7.2</wonder.version>
...

    <dependency>
      =
<groupId>${wonder.core.groupId}</groupId>
      =
<artifactId>ERExtensions</artifactId>
      =
<version>${wonder.version}</version>
      <exclusions>
        <exclusion>
          =
<groupId>${webobjects.groupId}</groupId>
          =
<artifactId>JavaXML</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      =
<groupId>${wonder.core.groupId}</groupId>
      =
<artifactId>ERJavaMail</artifactId>
      =
<version>${wonder.version}</version>
      <exclusions>
        <exclusion>
          =
<groupId>${webobjects.groupId}</groupId>
          =
<artifactId>JavaXML</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      =
<groupId>wonder.ajax</groupId>
      <artifactId>Ajax</artifactId>
      =
<version>${wonder.version}</version>
      <exclusions>
        <exclusion>
          =
<groupId>${webobjects.groupId}</groupId>
          =
<artifactId>JavaXML</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      =
<groupId>${webobjects.groupId}</groupId>
      =
<artifactId>JavaWebObjects</artifactId>
      =
<version>${webobjects.version}</version>
      <exclusions>
        <exclusion>
          =
<groupId>${webobjects.groupId}</groupId>
          =
<artifactId>JavaXML</artifactId>
        </exclusion>
      </exclusions>
    </dependency>

At Hugi's suggestion I added back in Xerces which will also have been excluded by exclduing = JavaXML

<dependency>
	<groupId>xerces</groupId>
	<artifactId>xercesImpl</artifactId>
	<version>2.12.1</version>
	<scope>runtime</scope>
</dependency>
Hope this helps

Tim

On 5/9/21 11:31, Theodore Petrosky wrote:
What version of Java are =
you using?

What version of Java is being used with WO!!

Ted



On Sep 2, 2021, at 10:52 =
AM, Jesse Tayler <webobjects-dev@wocommun=
ity.org> wrote:

Did you check your JAVA version?

It sounds like you need to sync up the Wonder build with your local =
compiler to me

I run Big Slur but I also use an old JAVA because I=E2=80=99m late to =
update and test...

On Sep 2, 2021, at 9:53 =
AM, Theodore Petrosky <webobjects-dev@wocommun=
ity.org> wrote:

I have a new computer with Big Sur 11.5.2. I am in the process of =
setting this machine up to do WO.

I have installed WO, Java, Wonder 7.3.

Almost there, there are some compile errors with wonder. For instance  =
ERPDFGeneration has multiple errors:

The package javax.xml.parsers is accessible from more than one module
The package org.xml.sax is accessible from more than one module: =
<unnamed>, java.xml

What do I need to do to fix this?

Ted
#############################################################
This message is sent to you because you are subscribed to
the mailing list <webobjects-dev@wocommun=
ity.org>.
To unsubscribe, E-mail to: <webobjects-dev-off@=
wocommunity.org>
To switch to the DIGEST mode, E-mail to <webobjects-dev-d=
igest@wocommunity.org>
To switch to the INDEX mode, E-mail to <webobjects-dev-in=
dex@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@wocommun=
ity.org>.
To unsubscribe, E-mail to: <webobjects-dev-off@=
wocommunity.org>
To switch to the DIGEST mode, E-mail to <webobjects-dev-d=
igest@wocommunity.org>
To switch to the INDEX mode, E-mail to <webobjects-dev-in=
dex@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@wocommun=
ity.org>.
To unsubscribe, E-mail to: <webobjects-dev-off@=
wocommunity.org>
To switch to the DIGEST mode, E-mail to <webobjects-dev-d=
igest@wocommunity.org>
To switch to the INDEX mode, E-mail to <webobjects-dev-in=
dex@wocommunity.org>
Send administrative queries to  <webobjects-dev-=
request@wocommunity.org>



--
Mit freundlichen Gr=C3=BC=C3=9F= en

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=_9A92AA43-D9B4-44FF-BF35-3728630D571C--