Is it that the interface 'org.apache.nutch.net.URLFilter' was compiled
with JDK 1.5 earlier? I have seen this problem happening with a beta
version of JDK 1.6.

Are you using the latest version, JDK 1.6 Update 2?

Regards,
Susam Pal
http://susam.in/

On 9/11/07, Doğacan Güney <[EMAIL PROTECTED]> wrote:
> On 9/11/07, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> > See http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/203/changes
> >
> > Changes:
> >
> > [dogacan] NUTCH-550 - Parse fails if db.max.outlinks.per.page is -1.
> >
> > [dogacan] NUTCH-546 - file URL are filtered out by the crawler.
> >
> > ------------------------------------------
> > [...truncated 4410 lines...]
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/tld
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/tld/classes
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/tld/test
> >
> > init-plugin:
> >
> > deps-jar:
> >
> > compile:
> >      [echo] Compiling plugin: tld
> >     [javac] Compiling 2 source files to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/tld/classes
> >
> > jar:
> >       [jar] Building jar: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/tld/tld.jar
> >
> > deps-test:
> >
> > deploy:
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/plugins/tld
> >      [copy] Copying 1 file to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/plugins/tld
> >
> > copy-generated-lib:
> >      [copy] Copying 1 file to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/plugins/tld
> > Overriding previous definition of reference to plugin.deps
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-automaton/test/data
> >      [copy] Copying 6 files to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-automaton/test/data
> >
> > init:
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-automaton/classes
> > Overriding previous definition of reference to plugin.deps
> >
> > init-plugin:
> >
> > deps-jar:
> >
> > init:
> >
> > init-plugin:
> >
> > deps-jar:
> >
> > compile:
> >      [echo] Compiling plugin: lib-regex-filter
> >
> > jar:
> >
> > init:
> >
> > init-plugin:
> >
> > deps-jar:
> >
> > compile:
> >      [echo] Compiling plugin: lib-regex-filter
> >
> > compile-test:
> >     [javac] Compiling 1 source file to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/lib-regex-filter/test
> >     [javac] Note: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/src/plugin/lib-regex-filter/src/test/org/apache/nutch/urlfilter/api/RegexURLFilterBaseTest.java
> >   uses unchecked or unsafe operations.
> >     [javac] Note: Recompile with -Xlint:unchecked for details.
> >
> > compile:
> >      [echo] Compiling plugin: urlfilter-automaton
> >     [javac] Compiling 1 source file to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-automaton/classes
> >
> > jar:
> >       [jar] Building jar: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-automaton/urlfilter-automaton.jar
> >
> > deps-test:
> >
> > init:
> >
> > init-plugin:
> >
> > deps-jar:
> >
> > compile:
> >      [echo] Compiling plugin: lib-regex-filter
> >
> > jar:
> >
> > deps-test:
> >
> > deploy:
> >
> > copy-generated-lib:
> >
> > deploy:
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/plugins/urlfilter-automaton
> >      [copy] Copying 1 file to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/plugins/urlfilter-automaton
> > Overriding previous definition of reference to plugin.deps
> >
> > copy-generated-lib:
> >      [copy] Copying 1 file to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/plugins/urlfilter-automaton
> >      [copy] Copying 1 file to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/plugins/urlfilter-automaton
> >
> > init:
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-prefix
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-prefix/classes
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-prefix/test
> >
> > init-plugin:
> >
> > deps-jar:
> >
> > compile:
> >      [echo] Compiling plugin: urlfilter-prefix
> >     [javac] Compiling 1 source file to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-prefix/classes
> >     [javac] Note: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/src/plugin/urlfilter-prefix/src/java/org/apache/nutch/urlfilter/prefix/PrefixURLFilter.java
> >   uses unchecked or unsafe operations.
> >     [javac] Note: Recompile with -Xlint:unchecked for details.
> >
> > jar:
> >       [jar] Building jar: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-prefix/urlfilter-prefix.jar
> >
> > deps-test:
> >
> > deploy:
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/plugins/urlfilter-prefix
> >      [copy] Copying 1 file to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/plugins/urlfilter-prefix
> >
> > copy-generated-lib:
> >      [copy] Copying 1 file to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/plugins/urlfilter-prefix
> > Overriding previous definition of reference to plugin.deps
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-regex/test/data
> >      [copy] Copying 6 files to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-regex/test/data
> >
> > init:
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-regex/classes
> > Overriding previous definition of reference to plugin.deps
> >
> > init-plugin:
> >
> > deps-jar:
> >
> > init:
> >
> > init-plugin:
> >
> > deps-jar:
> >
> > compile:
> >      [echo] Compiling plugin: lib-regex-filter
> >
> > jar:
> >
> > init:
> >
> > init-plugin:
> >
> > deps-jar:
> >
> > compile:
> >      [echo] Compiling plugin: lib-regex-filter
> >
> > compile-test:
> >
> > compile:
> >      [echo] Compiling plugin: urlfilter-regex
> >     [javac] Compiling 1 source file to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-regex/classes
> >
> > jar:
> >       [jar] Building jar: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-regex/urlfilter-regex.jar
> >
> > deps-test:
> >
> > init:
> >
> > init-plugin:
> >
> > deps-jar:
> >
> > compile:
> >      [echo] Compiling plugin: lib-regex-filter
> >
> > jar:
> >
> > deps-test:
> >
> > deploy:
> >
> > copy-generated-lib:
> >
> > deploy:
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/plugins/urlfilter-regex
> >      [copy] Copying 1 file to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/plugins/urlfilter-regex
> > Overriding previous definition of reference to plugin.deps
> >
> > copy-generated-lib:
> >      [copy] Copying 1 file to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/plugins/urlfilter-regex
> >
> > init:
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-suffix
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-suffix/classes
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-suffix/test
> >
> > init-plugin:
> >
> > deps-jar:
> >
> > compile:
> >      [echo] Compiling plugin: urlfilter-suffix
> >     [javac] Compiling 1 source file to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-suffix/classes
> >     [javac] Note: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/src/plugin/urlfilter-suffix/src/java/org/apache/nutch/urlfilter/suffix/SuffixURLFilter.java
> >   uses unchecked or unsafe operations.
> >     [javac] Note: Recompile with -Xlint:unchecked for details.
> >
> > jar:
> >       [jar] Building jar: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-suffix/urlfilter-suffix.jar
> >
> > deps-test:
> >
> > deploy:
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/plugins/urlfilter-suffix
> >      [copy] Copying 1 file to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/plugins/urlfilter-suffix
> >
> > copy-generated-lib:
> >      [copy] Copying 1 file to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/plugins/urlfilter-suffix
> >
> > init:
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-validator
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-validator/classes
> >     [mkdir] Created dir: 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-validator/test
> >
> > init-plugin:
> >
> > deps-jar:
> >
> > compile:
> >      [echo] Compiling plugin: urlfilter-validator
> >     [javac] Compiling 1 source file to 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build/urlfilter-validator/classes
> >     [javac] 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/src/plugin/urlfilter-validator/src/java/org/apache/nutch/urlfilter/validator/UrlValidator.java
> >  :133: method does not override a method from its superclass
> >     [javac]   @Override
> >     [javac]    ^
> >     [javac] 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/src/plugin/urlfilter-validator/src/java/org/apache/nutch/urlfilter/validator/UrlValidator.java
> >  :138: method does not override a method from its superclass
> >     [javac]   @Override
> >     [javac]    ^
> >     [javac] 
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/src/plugin/urlfilter-validator/src/java/org/apache/nutch/urlfilter/validator/UrlValidator.java
> >  :143: method does not override a method from its superclass
> >     [javac]   @Override
> >     [javac]    ^
> >     [javac] 3 errors
> >
> > BUILD FAILED
>
> Hmm, I can compile nutch successfully with Java 6 but not with Java 5.
> Is there an override annotation change between java 5 and java 6?
>
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/build.xml
> >  :112: The following error occurred while executing this line:
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/src/plugin/build.xml
> >  :76: The following error occurred while executing this line:
> > http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/src/plugin/build-plugin.xml
> >  :111: Compile failed; see the compiler error output for details.
> >
> > Total time: 47 seconds
> > Publishing Javadoc
> > Recording test results
> > No test report files were found. Configuration error?
> > Updating NUTCH-550
> > Updating NUTCH-546
> >
> >
>
>
> --
> Doğacan Güney
>

Reply via email to