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 mail01.noris.net ([62.128.1.221] verified) by post.selbstdenker.com (CommuniGate Pro SMTP 6.3.3) with ESMTPS id 26401729 for webobjects-dev@wocommunity.org; Mon, 06 Sep 2021 07:41:22 +0200 Received-SPF: none receiver=post.selbstdenker.com; client-ip=62.128.1.221; envelope-from=stefan.gaertner@nureg.de Received: from mail.nureg.de ([62.128.10.225]) by mail01.noris.net with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1mN7NN-0000HI-O9 for webobjects-dev@wocommunity.org; Mon, 06 Sep 2021 07:41:01 +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 1mN7NM-00DaHO-KH for webobjects-dev@wocommunity.org; Mon, 06 Sep 2021 07:41:01 +0200 Content-Type: multipart/alternative; boundary="Apple-Mail=_E74FBE1C-D265-4091-8588-D852FD8CF714" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: [WO-DEV] New box setup?? Date: Mon, 6 Sep 2021 07:40:59 +0200 References: To: WebObjects & WOnder Development In-Reply-To: Message-Id: <204DBBC5-A3F2-4D9F-AD7D-B88D674FF439@nureg.de> X-Mailer: Apple Mail (2.3445.104.21) X-Noris-IP: 62.128.10.225 --Apple-Mail=_E74FBE1C-D265-4091-8588-D852FD8CF714 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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: = , 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 (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 = : >=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 >>>=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 >> ############################################################# >> 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=_E74FBE1C-D265-4091-8588-D852FD8CF714 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
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=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=_E74FBE1C-D265-4091-8588-D852FD8CF714--