Using Xpath in Dom4j

后端 未结 5 972
悲哀的现实
悲哀的现实 2021-02-12 12:22

I get the following exception when trying to access any nodes of a parsed xml document on dom4j:

Exception in thread \"main\" java.lang.NoClassDefFoundError: or         


        
5条回答
  •  日久生厌
    2021-02-12 13:03

    You should add jaxen library to your class path.

    EDIT: Actually original dom4j distribution contains jaxen.jar in that as well as all other dependencies.

提交回复
热议问题