You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by John Morrow <jm...@trustnetworking.com> on 2003/09/24 12:13:53 UTC

addressbook example problem.

Hi,

I have downloaded and installed xindice from cvs. It is running on
FreeBSD 4.8, using Diablo 1.3.1 JDK and Apache Tomcat 4.1.27.

It seems to be working fine, I can add, delete collections, etc. However
I am having a problem getting the Addressbook example to work.

I used the following commands to install it:

cd $XINDICE_HOME/java/examples
$XINDICE_HOME/tools/bin/ant
cp $XINDICE_HOME/dist/Addressbook.war $CATALINA_HOME/webapps
cp $XINDICE_HOME/java/lib/xalan*.jar $CATALINA_HOME/common/lib
cp $XINDICE_HOME/java/lib/xmldb*.jar $CATALINA_HOME/common/lib
cp $XINDICE_HOME/dist/xindice*.jar $CATALINA_HOME/common/lib
$CATALINA_HOME/bin/shutdown.sh
$CATALINA_HOME/bin/startup.sh

The jar versions are fine. The readme is a little outdated so the above
commands are guesswork in parts.

Anyway, when I go to localhost:8080/Addressbook I get the following 500
error:

exception org.apache.jasper.JasperException: Unable to compile class
for JSP

An error occurred at line: 63 in the jsp file: /header.jsp

Generated servlet error:
[javac] Compiling 1 source file

/opt/jakarta-tomcat-4.1.27/work/Standalone/localhost/Addressbook/index_jsp.java:174: 

cannot resolve symbol
symbol : class Group
location: package Addressbook
Addressbook.Group group = null;
^

An error occurred at line: 63 in the jsp file: /header.jsp

Generated servlet error:
/opt/jakarta-tomcat-4.1.27/work/Standalone/localhost/Addressbook/index_jsp.java:176: 

cannot resolve symbol
symbol : class Group
location: package Addressbook
group = (Addressbook.Group) pageContext.getAttribute("group",
PageContext.SESSION_SCOPE);
^

Can anyone tell me what is going wrong here?

Many thanks,
John.