Mabanza, N wrote:

Hii Everyone,

I am using xindice-1.1b4. I am having the following error message when I am 
compiling the CreateCollection.java example

C:\jim\XmlDatabases\xindice-1.1b4>javac CreateCollection.java
CreateCollection.java:29: cannot resolve symbol
symbol  : class AbstractExample
location: class org.apache.xindice.examples.CreateCollection
public class CreateCollection  extends AbstractExample {
                                      ^
CreateCollection.java:40: cannot resolve symbol
symbol  : method getCollection  (java.lang.String)
location: class org.apache.xindice.examples.CreateCollection
          collection = getCollection("xmldb:xindice-embed:///db/");
                       ^
2 errors

Can anyone have an idea how to solve this problem..



You need to compile AbstractExample also. Even better, you need to compile all example classes at once. Read some Java intro book for more details on this.


Vadim




Reply via email to