Seems like this was fixed in the 1.2.3-Release of Lenya, since
I can't reproduce this problem.
However I checked the 1.2.2-bin Distribution and found a similar
issue, I try to explain as far as I understand what is wrong:
The init-target in the crawl_and_index.xml buildfile creates
a classpath which is used to run the crawl-, index- and
search-targets. The classpath is a list of pathelements each
points to a jar-file in WEB-INF/lib. One of the pathelements
has a different version-number (part of the filename) than the
(referring) jar-file in WEB-INF/lib. So the wrong version of
the Java-Library is the cause of the java.lang.NoClassDefFoundError.
The 1.2.2-bin Distribution comes with
xalan-2.6.1-dev-20041008T0304.jar
the pathelement in crawl_and_index.xml is referring to
<pathelement path="${web-inf.dir}/lib/xalan-2.6.0.jar"/>
I am still fighting with subversion so maybe you can do this
one-line-patch for me ;-)
greetings
Michael
Gregor J. Rothfuss wrote:
Michael Wohlfart wrote:
I got a similar Error, in my case the problem was that some of the
pathelements in webapp/lenya/bin/crawl_and_index.xml didn't match the
libraries in WEB-INF/lib.
Maybe you should take a look at the pathelement for the log4j
Library and verify that the referred file exists in your WEB-INF/lib.
can you describe in detail what was wrong, or better yet, send a patch,
so that this can be fixed?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]