You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sebastian Nagel (JIRA)" <ji...@apache.org> on 2014/12/19 22:46:14 UTC
[jira] [Resolved] (NUTCH-1831) compiling against gora-0.5 fails
[ https://issues.apache.org/jira/browse/NUTCH-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebastian Nagel resolved NUTCH-1831.
------------------------------------
Resolution: Not a Problem
Compilation with Gora 0.5 and recent 2.x works. Please, reopen if the problem persists or appears again. Thanks!
> compiling against gora-0.5 fails
> --------------------------------
>
> Key: NUTCH-1831
> URL: https://issues.apache.org/jira/browse/NUTCH-1831
> Project: Nutch
> Issue Type: Bug
> Affects Versions: 2.3
> Reporter: kaveh minooie
> Attachments: NUTCH-1831.patch
>
>
> currenty if you try to compile nutch against Gora 0.5 you will get following errors:
> clean-lib:
> resolve-default:
> [ivy:resolve] :: Apache Ivy 2.3.0-local-20140109133456 - 20140109133456 :: http://ant.apache.org/ivy/ ::
> [ivy:resolve] :: loading settings :: file = /sources/nutch/ivy/ivysettings.xml
> [taskdef] Could not load definitions from resource org/sonar/ant/antlib.xml. It could not be found.
> copy-libs:
> [copy] Copying 128 files to /sources/nutch/build/lib
> compile-core:
> [javac] Compiling 200 source files to /sources/nutch/build/classes
> [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
> [javac] /sources/nutch/src/java/org/apache/nutch/storage/WebPage.java:8: error: WebPage is not abstract and does not override abstract method getFieldsCount() in PersistentBase
> [javac] public class WebPage extends org.apache.gora.persistency.impl.PersistentBase implements org.apache.avro.specific.SpecificRecord, org.apache.gora.persistency.Persistent {
> [javac] ^
> [javac] /sources/nutch/src/java/org/apache/nutch/storage/ProtocolStatus.java:11: error: ProtocolStatus is not abstract and does not override abstract method getFieldsCount() in PersistentBase
> [javac] public class ProtocolStatus extends org.apache.gora.persistency.impl.PersistentBase implements org.apache.avro.specific.SpecificRecord, org.apache.gora.persistency.Persistent {
> [javac] ^
> [javac] /sources/nutch/src/java/org/apache/nutch/storage/ParseStatus.java:8: error: ParseStatus is not abstract and does not override abstract method getFieldsCount() in PersistentBase
> [javac] public class ParseStatus extends org.apache.gora.persistency.impl.PersistentBase implements org.apache.avro.specific.SpecificRecord, org.apache.gora.persistency.Persistent {
> [javac] ^
> [javac] /sources/nutch/src/java/org/apache/nutch/storage/Host.java:12: error: Host is not abstract and does not override abstract method getFieldsCount() in PersistentBase
> [javac] public class Host extends org.apache.gora.persistency.impl.PersistentBase implements org.apache.avro.specific.SpecificRecord, org.apache.gora.persistency.Persistent {
> [javac] ^
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 4 errors
> [javac] 1 warning
> BUILD FAILED
> /sources/nutch/build.xml:101: Compile failed; see the compiler error output for details.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)