XPath class resolution in JBoss5

前端 未结 2 415
旧巷少年郎
旧巷少年郎 2020-12-17 22:17

I\'m having a hard time figuring out where the problem is coming from, so I\'m posting this in the hopes that others might have found something similar to this elsewhere and

2条回答
  •  遥遥无期
    2020-12-17 22:24

    JBoss will throw a LinkageError when the application's classpath contains classes which JBoss considers "protected", i.e. it does not permit the application to contain its own copies of certain key APIs.

    In this case, it looks like your appcontains its own copies of the javax.xml.xpath API, and possibly some others as well, as you mentioned.

    You need to remove anything from your EAR/WAR's lib directories that clashes with JBoss's own libraries (e.g. axis2-saaj-api-1.4.jar).

提交回复
热议问题