nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danilo Fernandes <ferna...@gmail.com>
Subject Re: Eclipse Error
Date Tue, 26 Feb 2013 10:33:53 GMT
What version of JDK fit with Nutch trunk?

Anybody knows?

2013/2/25 Danilo Fernandes <fernadan@gmail.com>

> Feng Lu, thanks for the fast reply.****
>
> ** **
>
> But, I’m using the JavaSE-1.6 (jre6) and always get this error.****
>
> ** **
>
> *De:* feng lu [mailto:amuseme.lu@gmail.com]
> *Enviada em:* segunda-feira, 25 de fevereiro de 2013 22:35
> *Para:* dev@nutch.apache.org
> *Assunto:* Re: Eclipse Error****
>
> ** **
>
> Hi Danilo****
>
> ** **
>
> "Unsupported maj.minor version 51.0" means that you compiled your classes
> under a specific JDK, but then try to run them under older version of JDK.
> So, you can't run classes compiled with JDK 6.0 under JDK 5.0. The same
> with classes compiled under JDK 7.0 when you try to run them under JDK 6.0.
> ****
>
> ** **
>
> On Tue, Feb 26, 2013 at 9:12 AM, Danilo Fernandes <fernadan@gmail.com>
> wrote:****
>
> *Hi, I want do some changes in Nutch to get a HTML and take some data
> from them.
>
> My problem starts when I’m compiling the code in Eclipse.
>
> I always receive the follow error message.*
>
> Buildfile: *C:\Users\Danilo\workspace\Nutch\build.xml*****
>
>   [*taskdef*] Could not load definitions from resource
> org/sonar/ant/antlib.xml. It could not be found.****
>
> *ivy-probe-antlib*:****
>
> *ivy-download*:****
>
>   [*taskdef*] Could not load definitions from resource
> org/sonar/ant/antlib.xml. It could not be found.****
>
> *ivy-download-unchecked*:****
>
> *ivy-init-antlib*:****
>
> *ivy-init*:****
>
> *init*:****
>
>     [*mkdir*] Created dir: C:\Users\Danilo\workspace\Nutch\build****
>
>     [*mkdir*] Created dir: C:\Users\Danilo\workspace\Nutch\build\classes**
> **
>
>     [*mkdir*] Created dir: C:\Users\Danilo\workspace\Nutch\build\release**
> **
>
>     [*mkdir*] Created dir: C:\Users\Danilo\workspace\Nutch\build\test****
>
>     [*mkdir*] Created dir:
> C:\Users\Danilo\workspace\Nutch\build\test\classes****
>
>      [*copy*] Copying 8 files to C:\Users\Danilo\workspace\Nutch\conf****
>
>      [*copy*] Copying
> C:\Users\Danilo\workspace\Nutch\conf\automaton-urlfilter.txt.template to
> C:\Users\Danilo\workspace\Nutch\conf\automaton-urlfilter.txt****
>
>      [*copy*] Copying
> C:\Users\Danilo\workspace\Nutch\conf\httpclient-auth.xml.template to
> C:\Users\Danilo\workspace\Nutch\conf\httpclient-auth.xml****
>
>      [*copy*] Copying
> C:\Users\Danilo\workspace\Nutch\conf\nutch-site.xml.template to
> C:\Users\Danilo\workspace\Nutch\conf\nutch-site.xml****
>
>      [*copy*] Copying
> C:\Users\Danilo\workspace\Nutch\conf\prefix-urlfilter.txt.template to
> C:\Users\Danilo\workspace\Nutch\conf\prefix-urlfilter.txt****
>
>      [*copy*] Copying
> C:\Users\Danilo\workspace\Nutch\conf\regex-normalize.xml.template to
> C:\Users\Danilo\workspace\Nutch\conf\regex-normalize.xml****
>
>      [*copy*] Copying
> C:\Users\Danilo\workspace\Nutch\conf\regex-urlfilter.txt.template to
> C:\Users\Danilo\workspace\Nutch\conf\regex-urlfilter.txt****
>
>      [*copy*] Copying
> C:\Users\Danilo\workspace\Nutch\conf\subcollections.xml.template to
> C:\Users\Danilo\workspace\Nutch\conf\subcollections.xml****
>
>      [*copy*] Copying
> C:\Users\Danilo\workspace\Nutch\conf\suffix-urlfilter.txt.template to
> C:\Users\Danilo\workspace\Nutch\conf\suffix-urlfilter.txt****
>
> *clean-lib*:****
>
> *resolve-default*:****
>
> [*ivy:resolve*] :: Ivy 2.2.0 - 20100923230623 ::
> http://ant.apache.org/ivy/ ::****
>
> [*ivy:resolve*] :: loading settings :: file =
> C:\Users\Danilo\workspace\Nutch\ivy\ivysettings.xml****
>
> [*ivy:resolve*] :: problems summary ::****
>
> [*ivy:resolve*] :::: ERRORS****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [*ivy:resolve*]       unknown resolver main****
>
> [ivy:resolve] ****
>
> [*ivy:resolve*] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS****
>
>   [*taskdef*] Could not load definitions from resource
> org/sonar/ant/antlib.xml. It could not be found.****
>
> *copy-libs*:****
>
> *compile-core*:****
>
>     [*javac*] C:\Users\Danilo\workspace\Nutch\build.xml:96: warning:
> 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
> to false for repeatable builds****
>
>  ****
>
> BUILD FAILED****
>
> *C:\Users\Danilo\workspace\Nutch\build.xml:96:
> java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main :
> Unsupported major.minor version 51.0*****
>
>  ****
>
> Total time: 8 seconds****
>
>  ****
>
>  ****
>
> *I’m new with Nutch dev and a little bit nuts with Eclipse. Can somebody
> help me?
>
> Thanks a lot.
> Danilo Fernandes*****
>
>
>
> ****
>
> ** **
>
> --
> Don't Grow Old, Grow Up... :-) ****
>

Mime
View raw message