Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #38007

Re: Java 9

Newsgroups comp.lang.java.programmer
Date 2018-01-26 06:43 -0800
References <31ae5b61-c6df-4c97-91e7-c33fa9571822@googlegroups.com> <c589f66d-9076-4bb5-9839-f2e9c08d1199@googlegroups.com> <p4dvh9$n10$1@gioia.aioe.org>
Message-ID <b7b4ebd6-7809-42dd-8f12-14ad35ee96b6@googlegroups.com> (permalink)
Subject Re: Java 9
From Eric Douglas <e.d.programmer@gmail.com>

Show all headers | View raw


On Thursday, January 25, 2018 at 8:16:40 PM UTC-5, Arne Vajhøj wrote:
> > The error on the dom is actually "The package org.w3c.dom is accessible from more than one module"
> 
> How does the code that gives this error look like?
> 
> Arne

I simply tried to switch Eclipse project settings from JDK 8 compliance to 9 so perhaps the default setup for modules is wrong?  I can have multiple jars in a module and it sets each jar as it's own module by default?  I took a closer look at these error messages and they wouldn't make sense otherwise.  Some packages do have the same package names in different jars with different classes ie this error:
The package org.apache.http is accessible from more than one module: httpclient, httpcore

I must not have noticed yesterday the rest of the w3c error which lists it's modules.
The package org.w3c.dom is accessible from more than one module: batik.all, java.xml, xml.apis.ext

Like why does it care where the package may be referenced if there's no class conflict?

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Java 9 Eric Douglas <e.d.programmer@gmail.com> - 2018-01-25 13:03 -0800
  Re: Java 9 Eric Douglas <e.d.programmer@gmail.com> - 2018-01-25 13:10 -0800
    Re: Java 9 Arne Vajhøj <arne@vajhoej.dk> - 2018-01-25 20:16 -0500
      Re: Java 9 Eric Douglas <e.d.programmer@gmail.com> - 2018-01-26 06:43 -0800
  Re: Java 9 Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-01-25 17:09 -0500
    Re: Java 9 Arne Vajhøj <arne@vajhoej.dk> - 2018-01-25 20:00 -0500
    Re: Java 9 Eric Douglas <e.d.programmer@gmail.com> - 2018-01-26 06:16 -0800
      Re: Java 9 Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-01-26 09:37 -0500
  Re: Java 9 Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2018-01-25 17:23 -0600
    Re: Java 9 Hiram Hunt <hiramhunt@verizon.net> - 2018-01-26 08:31 -0500
      Re: Java 9 Eric Douglas <e.d.programmer@gmail.com> - 2018-01-26 06:06 -0800
        Re: Java 9 Kiwi User <martin@mydomain.invalid> - 2018-01-26 15:18 +0000

csiph-web