Bug#749364: lucene-solr: FTBFS - java.lang.NoClassDefFoundError: org/apache/tomcat/util/descriptor/LocalResolver

Hideki Yamane henrich at debian.or.jp
Fri May 30 21:51:53 UTC 2014


control: reassign -1 libtomcat6-java

Hi,

> [...]
> BUILD FAILED
> /srv/jenkins-slave/workspace/sid-goto-cc-lucene-solr/lucene-solr-3.6.2+dfsg/solr/build.xml:322: The following error occurred while executing this line:
> /srv/jenkins-slave/workspace/sid-goto-cc-lucene-solr/lucene-solr-3.6.2+dfsg/solr/webapp/build.xml:36: java.lang.NoClassDefFoundError: org/apache/tomcat/util/descriptor/LocalResolver

 It seems to be caused by changes in tomcat6 upstream.
 Once failed to build lucene-solr, I've downgraded libtomcat6-java package
 to libtomcat6-java_6.0.35-6+deb7u1_all.deb and then succeeded to build.


$ diff -urN tomcat6-6.0.35 tomcat6-6.0.41 | grep LocalResolver
+import org.apache.tomcat.util.descriptor.LocalResolver;
+        this.entityResolver = new LocalResolver(
+import org.apache.tomcat.util.descriptor.LocalResolver;
+            this.entityResolverInstance = new LocalResolver(
+        EntityResolver2 resolver = new LocalResolver(SERVLET_API_PUBLIC_IDS,
diff -urN tomcat6-6.0.35/java/org/apache/tomcat/util/descriptor/LocalResolver.java tomcat6-6.0.41/java/org/apache/tomcat/util/descriptor/LocalResolver.java
--- tomcat6-6.0.35/java/org/apache/tomcat/util/descriptor/LocalResolver.java	1970-01-01 09:00:00.000000000 +0900
+++ tomcat6-6.0.41/java/org/apache/tomcat/util/descriptor/LocalResolver.java	2014-04-11 08:25:06.000000000 +0900
+public class LocalResolver implements EntityResolver2 {
+    public LocalResolver(Map<String,String> publicIds,

 In stable package, there's no java/org/apache/tomcat/util/descriptor/LocalResolver.java
 file.

-- 
Regards,

 Hideki Yamane     henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane



More information about the pkg-java-maintainers mailing list