2

I have some problem with my JSystem/Java/Eclipse enviromment.

I get this error and i don't understand what is wrong:

java.lang.LinkageError: loader constraint violation: loader (instance of jsystem/runner/loader/ExtendsTestCaseClassLoader) previously initiated loading for a different type with name "org/w3c/dom/Document"

I would like know if someone have had a similar issues, I don't think my enviromment is very important for solve it, if I will understand what's happened "undergound" I hope to solve problem myself.

Thanks a lot in advance.

Sanjay Jain
  • 3,458
  • 8
  • 56
  • 92
pedr0
  • 2,802
  • 5
  • 30
  • 44

3 Answers3

11

I think this happened for me when I included a library twice.

dacwe
  • 42,413
  • 12
  • 112
  • 138
1

Please check the below URL

java.lang.LinkageError: loader constraint violation

Community
  • 1
  • 1
BOSS
  • 2,841
  • 7
  • 27
  • 51
0

For me it was a version of dependency, when i increased version it fixed

Master mj
  • 33
  • 3