Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #38860
| From | Andreas Leitgeb <avl@logic.at> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: more porting issues to Java 11 |
| Date | 2019-04-04 12:52 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <slrnqabvgs.cfl.avl@logic.at> (permalink) |
| References | <slrnqa9qsg.cfl.avl@logic.at> <q82u07$1rii$1@gioia.aioe.org> <q82u80$1t7b$1@gioia.aioe.org> |
Arne Vajhøj <arne@vajhoej.dk> wrote: > On 4/3/2019 2:28 PM, Arne Vajhøj wrote: >> On 4/3/2019 1:21 PM, Andreas Leitgeb wrote: >>> My application unfortunately uses a couple of features that were removed >>> in Java 11. >>> One, of which I was a bit more optimistic of finding a substitute was the >>> package hierarchy javax.xml.bind and in particular (among others) the >>> classes >>> JAXBContext, Marshaller and Unmarshaller >>> therein. >> I go to: > https://github.com/eclipse-ee4j/jaxb-ri > https://github.com/eclipse-ee4j/jaxb-ri/releases/download/2.3.2-RI/jaxb-ri-2.3.2.zip Thanks, they did indeed contain the sought classes. For a short time it even looked like I'd be getting on, until... after adding all the jars from jaxb-ri-2.3.2, Eclipse still didn't find some other classes e.g. org.w3c.dom.Document . I scanned local repositories for jar-files containing that class and found some "xml-apis-1.4.01.jar" - it doesn't matter where it was from and how old it was, because the gist of my problem doesn't involve it.) After adding that jar file it *no longer* knew other stuff like javax.xml.namespace.NamespaceContext, so I removed the jar again, and looked for where it had found javax.xml.namespace.NamespaceContext before: in jdk-11 module "java.xml" - and this very module has "org.w3c.dom.Document" sitting there as well! Now, the new question driving me crazy is: why doesn't eclipse find org.w3c.dom.Document, when it perfectly well can find javax.xml.namespace.NamespaceContext almost right next to the other, and why doesn't it find javax.xml.namespace.NamespaceContext anymore once I add a jar file with org.w3c.dom.Document ?.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-03 17:21 +0000
Re: more porting issues to Java 11 Arne Vajhøj <arne@vajhoej.dk> - 2019-04-03 14:28 -0400
Re: more porting issues to Java 11 Arne Vajhøj <arne@vajhoej.dk> - 2019-04-03 14:32 -0400
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-04 12:52 +0000
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-04 14:11 +0000
Re: more porting issues to Java 11 Arne Vajhøj <arne@vajhoej.dk> - 2019-04-04 20:08 -0400
Re: more porting issues to Java 11 Arne Vajhøj <arne@vajhoej.dk> - 2019-04-03 14:37 -0400
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-04 13:04 +0000
Re: more porting issues to Java 11 Arne Vajhøj <arne@vajhoej.dk> - 2019-04-04 20:22 -0400
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-08 16:40 +0000
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-08 17:14 +0000
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-10 18:08 +0000
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-10 18:32 +0000
Re: more porting issues to Java 11 Sebastian <nowhere@nirvana.org> - 2019-04-11 11:05 +0200
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-29 08:23 +0000
Re: more porting issues to Java 11 Arne Vajhøj <arne@vajhoej.dk> - 2019-04-12 10:08 -0400
Re: more porting issues to Java 11 Eric Douglas <e.d.programmer@gmail.com> - 2019-04-12 07:35 -0700
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-29 08:39 +0000
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-05-03 13:10 +0000
Re: more porting issues to Java 11 Knute Johnson <groups@585ranch.com> - 2019-05-04 11:24 -0500
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-05-04 21:58 +0000
Re: more porting issues to Java 11 Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2019-05-06 11:25 -0500
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-05-29 12:20 +0000
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2020-01-30 15:07 +0000
Re: more porting issues to Java 11 Arne Vajhøj <arne@vajhoej.dk> - 2019-04-08 18:41 -0400
Re: more porting issues to Java 11 Sebastian <nowhere@nirvana.org> - 2019-04-10 15:46 +0200
Re: more porting issues to Java 11 Arne Vajhøj <arne@vajhoej.dk> - 2019-04-10 12:31 -0400
Re: more porting issues to Java 11 Andreas Leitgeb <avl@logic.at> - 2019-04-10 18:13 +0000
Re: more porting issues to Java 11 Arne Vajhøj <arne@vajhoej.dk> - 2019-04-13 20:39 -0400
csiph-web