-
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 !
-
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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks