Title: Build error.

Hi,

I have the following error when building the addressbook.war. Can anyone help? Is there an error in XPathQueryResolver.java?

========
src:
     [echo] Compiling Source
    [javac] Compiling 93 source files to C:\Program Files\Apache Tomcat 4.0\weba
pps\ROOT\xmlxindice\java\classes
    [javac] C:\Program Files\Apache Tomcat 4.0\webapps\ROOT\xmlxindice\java\src\
org\apache\xindice\core\query\XPathQueryResolver.java:502: array required, but o
rg.apache.xpath.compiler.OpMapVector found
    [javac]          int endFunc = pos + cmp.getOpMap()[pos+1] - 1;
    [javac]                                            ^
    [javac] C:\Program Files\Apache Tomcat 4.0\webapps\ROOT\xmlxindice\java\src\
org\apache\xindice\core\query\XPathQueryResolver.java:502: operator - cannot be
applied to java.lang.String,int
    [javac]          int endFunc = pos + cmp.getOpMap()[pos+1] - 1;
    [javac]                                                    ^
    [javac] 2 errors

BUILD FAILED
file:C:/Program Files/Apache Tomcat 4.0/webapps/ROOT/xmlxindice/build.xml:123: C
ompile failed; see the compiler error output for details.      
==========


Reply via email to