[ 
https://issues.apache.org/jira/browse/NUTCH-2439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Markus Jelsma updated NUTCH-2439:
---------------------------------
    Attachment: NUTCH-2439.patch

Patch for master! Upgrade went fine, getting the libraries was also no problem.

Now this is the problem:
{code}
Exception in thread "main" java.lang.LinkageError: loader constraint violation: 
when resolving method 
"org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;"
 the class loader (instance of org/apache/nutch/plugin/PluginClassLoader) of 
the current class, org/slf4j/LoggerFactory, and the class loader (instance of 
sun/misc/Launcher$AppClassLoader) for the method's defining class, 
org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type 
org/slf4j/ILoggerFactory used in the signature
        at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:418)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383)
        at org.apache.nutch.parse.tika.TikaParser.<clinit>(TikaParser.java:65)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at 
org.apache.nutch.plugin.Extension.getExtensionInstance(Extension.java:161)
        at 
org.apache.nutch.parse.ParserFactory.getParsers(ParserFactory.java:138)
        at org.apache.nutch.parse.ParseUtil.parse(ParseUtil.java:80)
        at org.apache.nutch.parse.ParserChecker.run(ParserChecker.java:202)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
        at org.apache.nutch.parse.ParserChecker.main(ParserChecker.java:268)
{code}

Any ideas? I have no clue in these matters.

> Upgrade to Apache Tika 1.16
> ---------------------------
>
>                 Key: NUTCH-2439
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2439
>             Project: Nutch
>          Issue Type: Improvement
>    Affects Versions: 1.13
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.14
>
>         Attachments: NUTCH-2439.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to