TypeFox / yang-lsp

A Language Server for YANG
http://www.yang-central.org
Apache License 2.0
51 stars 13 forks source link

duplicated org.w3c.dom package in xml-apis.jar and java 11 #217

Closed RimShao closed 2 years ago

RimShao commented 2 years ago

Hi,

In Java 11 developing environment, io.typefox.yang has duplicated org.w3c.dom issue in eclipse.

The package org.w3c.dom is accessible from more than one module: <unnamed>, java.xml

The reason because org.w3c.dom package is both included in jdk11 jar by default and xml-apis.jar, transitive dependency of io.typefox.yang, It will be great this issue can be solved in io.typefox.yang? Thanks.

dhuebner commented 2 years ago

We will need to update to a newer lsp4j >= 0.12, xtext >= 2.26.0 and Java 11

dhuebner commented 2 years ago

Using Java 11 now instead of Java 1.8.

Following updates were made: