---------------------------------------
public static String TOQuoteTypes = "/config";
/**
* contains the associations key is the name of the configuration value
* and value is the associated value
*/
private Map config;
/**
*
* @param confFile String
* @throws JDOMException
* @throws IOException
*/
public configuration(String confFile) throws Exception {
Document Jdom;
try {
Jdom = getJDOM(confFile);
} catch (IOException ex) {
throw new Exception("IOException: " + ex.getMessage());
} catch (JDOMException ex) {
throw new Exception("JDOMException: " + ex.getMessage());
}
System.out.println("Jdom = getJDOM(confFile);");
config = new HashMap();
System.out.println(Jdom.toString());
XPath query = XPath.newInstance(TOQuoteTypes);
----------------------------
l'esecuzione si blocca qui dicendo:
---------
java.lang.NoClassDefFoundError: org/jaxen/BaseXPath
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at org.jdom.xpath.XPath.newInstance(XPath.java:126)
at util.configuration.<init>(configuration.java:40)
-----------------------
mi aiutate??
Grazie