RE: Class Not Found
Sorry it took so long, but I downloaded and installed ant from ant.apache.org and was able to build the war file without a problem (once I'd gotten /etc/ant.conf from the rpm out of the way). So if anyone else hits this, just install from either the source or binary installation from ant.apache.org instead of using an rpm. Thanks, Jake. -Original Message- From: Doug Cutting [mailto:[EMAIL PROTECTED] Sent: Saturday, December 03, 2005 1:32 PM To: nutch-user@lucene.apache.org Subject: Re: Class Not Found Vanderdray, Jacob wrote: I installed ant from an rpm. It is possible that the rpm I grabbed just doesn't have everything I need. I have seen this problem too using ant installed from rpm. I recommend downloading ant from Apache. Doug
RE: Class Not Found
] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196) [xslt] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55) [xslt] java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.XalanLiaison [xslt] at java.net.URLClassLoader.findClass(URLClassLoader.java(Compiled Code)) [xslt] at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code)) [xslt] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java(Compiled Code)) [xslt] at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code)) [xslt] at java.lang.Class.forName1(Native Method) [xslt] at java.lang.Class.forName(Class.java:177) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.loadClass(XSLTProcess.java:419 ) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.j ava:402) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:61 6) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:213) [xslt] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xslt] at org.apache.tools.ant.Task.perform(Task.java:364) [xslt] at org.apache.tools.ant.Target.execute(Target.java:341) [xslt] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xslt] at org.apache.tools.ant.Project.executeTarget(Project.java:1214) [xslt] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386) [xslt] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106) [xslt] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xslt] at org.apache.tools.ant.Task.perform(Task.java:364) [xslt] at org.apache.tools.ant.Target.execute(Target.java:341) [xslt] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xslt] at org.apache.tools.ant.Project.executeTarget(Project.java:1214) [xslt] at org.apache.tools.ant.Project.executeTargets(Project.java:1062) [xslt] at org.apache.tools.ant.Main.runBuild(Main.java:673) [xslt] at org.apache.tools.ant.Main.startAnt(Main.java:188) [xslt] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196) [xslt] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55) BUILD FAILED /home/jvanderdray/nutch-0.7/build.xml:292: The following error occurred while executing this line: /home/jvanderdray/nutch-0.7/build.xml:258: java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.TraXLiaison Total time: 21 seconds -Original Message- From: Jack Tang [mailto:[EMAIL PROTECTED] Sent: Thursday, December 01, 2005 9:17 PM To: nutch-user@lucene.apache.org Subject: Re: Class Not Found Hi Could you pls post your ant logging? Thanks /Jack
Re: Class Not Found
Hi Could you pls post your ant logging? Thanks /Jack On 12/1/05, Vanderdray, Jacob [EMAIL PROTECTED] wrote: I'm able to get things to build if I run just 'ant' or 'ant jar'. I only get the error when I do 'ant war'. I've written a plugin that extends the HTMLParseFilter, IndexingFilter, and QueryFilter. I've been able to do an intranet crawl and get a new field added to the index. Now I'm trying to test my QueryFilter extension by deploying a new war file and doing a search. I installed ant from an rpm. It is possible that the rpm I grabbed just doesn't have everything I need. For now I think I'm going to try just going into the extracted ROOT dir and manually copying things over. One way or the other I'll probably need to come back to this later and figure it out. Thanks for the help, Jake. -Original Message- From: Stefan Groschupf [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 30, 2005 3:50 PM To: nutch-user@lucene.apache.org Subject: Re: Class Not Found Strange. Are you in general able to run other build.xml files? The class throwing this error uses some xml and xsl libraries do you may have some version conflicts with these xml libraries? May you have a older or updated xml libaries in your endorsed folder under your jdk? In general what is your jdk version and is your java home configured correct? First check if you are able to build other projects with your ant. Stefan Am 30.11.2005 um 21:40 schrieb Vanderdray, Jacob: # ant -version Apache Ant version 1.6.2 compiled on March 24 2005 -Original Message- From: Stefan Groschupf [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 30, 2005 2:58 PM To: nutch-user@lucene.apache.org Subject: Re: Class Not Found Ant 1.6.2 works for me without any problem, check that you are not using ant 1.5. Stefan Am 30.11.2005 um 20:30 schrieb Vanderdray, Jacob: When I try building the war file from source, I'm getting an error about some ant stuff that I must not have installed. Does anyone know what package I need to get this fixed? java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.XslpLiaison Thanks, Jake. --- company:http://www.media-style.com forum:http://www.text-mining.org blog:http://www.find23.net --- company:http://www.media-style.com forum:http://www.text-mining.org blog:http://www.find23.net -- Keep Discovering ... ... http://www.jroller.com/page/jmars
RE: Class Not Found
# ant -version Apache Ant version 1.6.2 compiled on March 24 2005 -Original Message- From: Stefan Groschupf [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 30, 2005 2:58 PM To: nutch-user@lucene.apache.org Subject: Re: Class Not Found Ant 1.6.2 works for me without any problem, check that you are not using ant 1.5. Stefan Am 30.11.2005 um 20:30 schrieb Vanderdray, Jacob: When I try building the war file from source, I'm getting an error about some ant stuff that I must not have installed. Does anyone know what package I need to get this fixed? java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.XslpLiaison Thanks, Jake. --- company:http://www.media-style.com forum:http://www.text-mining.org blog:http://www.find23.net
Re: Class Not Found
Strange. Are you in general able to run other build.xml files? The class throwing this error uses some xml and xsl libraries do you may have some version conflicts with these xml libraries? May you have a older or updated xml libaries in your endorsed folder under your jdk? In general what is your jdk version and is your java home configured correct? First check if you are able to build other projects with your ant. Stefan Am 30.11.2005 um 21:40 schrieb Vanderdray, Jacob: # ant -version Apache Ant version 1.6.2 compiled on March 24 2005 -Original Message- From: Stefan Groschupf [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 30, 2005 2:58 PM To: nutch-user@lucene.apache.org Subject: Re: Class Not Found Ant 1.6.2 works for me without any problem, check that you are not using ant 1.5. Stefan Am 30.11.2005 um 20:30 schrieb Vanderdray, Jacob: When I try building the war file from source, I'm getting an error about some ant stuff that I must not have installed. Does anyone know what package I need to get this fixed? java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.XslpLiaison Thanks, Jake. --- company:http://www.media-style.com forum:http://www.text-mining.org blog:http://www.find23.net --- company:http://www.media-style.com forum:http://www.text-mining.org blog:http://www.find23.net