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,518
  • 8
  • 59
  • 93
pedr0
  • 2,941
  • 6
  • 32
  • 46

3 Answers3

11

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

dacwe
  • 43,066
  • 12
  • 116
  • 140
1

Please check the below URL

java.lang.LinkageError: loader constraint violation

Community
  • 1
  • 1
BOSS
  • 2,931
  • 8
  • 28
  • 53
0

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

Master mj
  • 73
  • 3