|
|
Re: Old ERP system on Java 11 classpath only [message #1804967 is a reply to message #1804964] |
Thu, 04 April 2019 03:42 |
Tom Eugelink Messages: 825 Registered: July 2009 |
Senior Member |
|
|
I see a "cannot be resolved".
I understand what you are saying, but in that case I would expect the Eclipse Maven plugin to make sure the Eclipse project is setup to mimick Maven's behavior as close as possible. Just as was done with the src/test folders, compiler version, etc. And it's not that I'm using an obscure tool, so I expect more people will run into this, when migrating to the next LTS Java version.
[Updated on: Thu, 04 April 2019 03:43] Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: Old ERP system on Java 11 classpath only [message #1808164 is a reply to message #1804909] |
Tue, 18 June 2019 11:55 |
Philip Woodman Messages: 1 Registered: June 2019 |
Junior Member |
|
|
You probably have some redundant xml api jars on the classpath and javac (incorrectly) doesn't complain because of JDK-8215739, but Eclipse already (correctly) does after bug 536928
At runtime, the JVM seems to ignore packages on the classpath that already appear in a named module, so javac's behavior is actually consistent with that.
To fix your problem: Try "Open Type" to find any copies of javax.xml.namespace.QName in jars on your classpath and exclude those dependencies in your pom.xml
erp software
erp systems
[Updated on: Wed, 10 July 2019 06:47] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04191 seconds