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
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.