Here's how you should be able to duplicate the error:

1. make sure Xindice is running under Tomcat
2. make sure there is an 'addressbook' collection under /db
   xindice ac -c /db -n addressbook
3. In Xindice 1.1 tree:
   cd to ...java/examples/guide directory
4. using the guide examples add documents to the addressbook (these
work)
   ./run org.apache.xindice.examples.AddDocument xml/address1.xml
   ./run org.apache.xindice.examples.AddDocument xml/address2.xml
5. using the guide examples update the documents in the addressbook
   ./run org.apache.xindice.examples.XUpdate (this does not work)

You should now see the error.


--- "Vladimir R. Bossicard" <[EMAIL PROTECTED]> wrote:
> > Well at least when I run the Example XUpdate program I get the same
> > error:
> > 
> > XML:DB Exception occured 1 Query error: java.lang.Exception:
> > java.lang.NoClassDefFoundError:
> org/apache/xerces/framework/XMLParser
> > 
> > So does anyone know how to fix this?
> 
> why not writing a unit test that shows the bug?  It' much easier to 
> start from something when debugging.
> 
> It's especially important when you have to deal with external
> ressources 
> (like the xml file to query and the Tomcat infrastructure).
> 
> -Vladimir
> 
> -- 
> Vladimir R. Bossicard
> Apache Xindice - http://xml.apache.org/xindice
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus � Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Reply via email to