[jboss-user] [Installation, Configuration & Deployment] - Unable to use xpath in JBoss

cmiles73 do-not-reply at jboss.com
Mon Jan 8 15:30:09 EST 2007


I was able to get this code to work using Eclipse with the following jars in my classpath: saxpath-1.0-FCS.jar, jaxen-1.0-FCS.jar and dom4j-1.6.jar.

I added all of these jars to my ear and deployed but failing with call to document.singleNode() method. I'm using JBoss 4.0.3SP1

I'm not getting any errors in log files or console, but the behavior is the same when I didn't have the correct dependencies in Eclipse. I have also tried copying the jars to the server\default\lib directory, but the same thing keeps happening. 

It's probably a stupid oversight on my part, but I wanted to know if there was conflict some where I missed.

Thanks.

Document document = reader.read(archiveXmlFile);
  | Node node = ocument.selectSingleNode("/Document");

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999193#3999193

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999193



More information about the jboss-user mailing list