You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by govind nitk <go...@gmail.com> on 2018/04/02 11:45:38 UTC

any23 2.2 upgrading in NUTCH gives errors

Hi,

Tried to upgrade any23 2.1 to 2.2 in nutch code base.

Changes:
1. src/plugin/any23/ivy.xml:
<dependency org="org.apache.any23" name="apache-any23-core" rev="2.2"
conf="*->default">

2. src/plugin/any23/plugin.xml

<library name="apache-any23-api-2.2.jar"/>
    <library name="apache-any23-core-2.2.jar"/>
    <library name="apache-any23-csvutils-2.2.jar"/>
    <library name="apache-any23-encoding-2.2.jar"/>
    <library name="apache-any23-mime-2.2.jar"/>


after "ant runtime",
below jar files are present in dir runtime/local/plugins/any23

any23.jar
apache-any23-api-2.2.jar
apache-any23-core-2.2.jar
apache-any23-csvutils-2.2.jar
apache-any23-encoding-2.2.jar
apache-any23-mime-2.2.jar




Did simple parse checker on a test html. Getting Errors as
1.  java.util.concurrent.ExecutionException:
java.lang.NoClassDefFoundError:
org/eclipse/rdf4j/common/lang/service/ServiceRegistry
 ....
Caused by: java.lang.NoClassDefFoundError:
org/eclipse/rdf4j/common/lang/service/ServiceRegistry

2. java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError:
org/apache/any23/extractor/ExtractorRegistryImpl
...
Caused by: java.lang.NoClassDefFoundError:
org/apache/any23/extractor/ExtractorRegistryImpl




Entire log file is attached in debug.txt.


Regards,
Govind