We don't support JDK 7.
On 07.11.2011 21:10, edwin wrote:
> Hi,
>
> Upon a fresh checkout of the latest trunk, I've encountered this compilation
> error:
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
> (default-compile) on project mahout-integration: Compilation failure
> [ERROR]
> /Users/echiu/Downloads/mahout/trunk/integration/src/main/java/org/apache/mahout/cf/taste/impl/model/jdbc/ConnectionPoolDataSource.java:[39,13]
> error: ConnectionPoolDataSource is not abstract and does not override
> abstract method getParentLogger() in CommonDataSource
>
> http://mail-archives.apache.org/mod_mbox/mahout-commits/201110.mbox/%3C16447367.24410.1319173217032.JavaMail.confluence@thor%3E
>
> Does anyone happen to know how to get by this issue? Seems more like some
> kind of configuration/environment issue to me. (Especially I didn't see
> anyone discussing this error on this mailing list).
> My last build was about a month or so ago, I don't remember having any
> issues.
> Thanks much in advance!
>
> Some info of my environment:
> Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
> Maven home: /usr/share/maven
> Java version: 1.7.0-internal, vendor: Oracle Corporation
> Java home: /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.6.8", arch: "x86_64", family: "mac"
>
> I'm using hadoop-0.20.2-cdh3u0 and have $HADOOP_HOME defined in the env.
>
> Command I ran:
> mvn -DskipTests install (build failed on a test in core so I'm trying to
> build it with skipTests)
>
>
> Details of the message:
> INFO] Mahout Core ....................................... SUCCESS [14.478s]
> [INFO] Mahout Integration ................................ FAILURE [3.226s]
> [INFO] Mahout Examples ................................... SKIPPED
> [INFO] Mahout Release Package ............................ SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 21.994s
> [INFO] Finished at: Mon Nov 07 11:22:38 PST 2011
> [INFO] Final Memory: 42M/464M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
> (default-compile) on project mahout-integration: Compilation failure
> [ERROR]
> /Users/echiu/Downloads/mahout/trunk/integration/src/main/java/org/apache/mahout/cf/taste/impl/model/jdbc/ConnectionPoolDataSource.java:[39,13]
> error: ConnectionPoolDataSource is not abstract and does not override
> abstract method getParentLogger() in CommonDataSource
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
> (default-compile) on project mahout-integration: Compilation failure
> /Users/echiu/Downloads/mahout/trunk/integration/src/main/java/org/apache/mahout/cf/taste/impl/model/jdbc/ConnectionPoolDataSource.java:[39,13]
> error: ConnectionPoolDataSource is not abstract and does not override
> abstract method getParentLogger() in CommonDataSource
>
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation
> failure
> /Users/echiu/Downloads/mahout/trunk/integration/src/main/java/org/apache/mahout/cf/taste/impl/model/jdbc/ConnectionPoolDataSource.java:[39,13]
> error: ConnectionPoolDataSource is not abstract and does not override
> abstract method getParentLogger() in CommonDataSource