how to use xindice?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: how to use xindice?

  1. #1
    Join Date
    Feb 2005
    Posts
    9

    how to use xindice?

    I copy the xindice.war to the directory of c:\tomcat5\webapps and the directory xindice is created .
    But the command line put the error information as below:
    C:\Tomcat5\webapps\xindice\WEB-INF>xindice lc -c /db

    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xindice/tools/XMLTools

    sometimes gives the error information as this:
    C:\xindice-1.1b4\bin>xindice lc -c xmldb:xindice://localhost:8080/db
    WARNING: The environment variable XINDICE_HOME is not set.
    Defaulting to C:\xindice-1.1b4\bin\..
    trying to register database

    system
    meta
    }

    what's wrong with my operation? can you give me the hints? Thanks a lot !

  2. #2
    Join Date
    Apr 2005
    Posts
    1
    Sorry if this has already been answered. The error should be with your classpath and environment variables. This usually pops up when you have unrecognized JAVA_HOME and/or XINDICE_HOME variables. Your XINDICE_HOME should point to the directory where you installed XINDICE and so it is with JAVA_HOME.

    If you are using Windows, there is a chance you may have used the ";" semicolon character in these two variables which does not let proper substitution of the variables. Also there could be the white space problem in the file path.

    HTH
    qts

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center