Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Drill >> mail # user >> Build error mvn install


+
Avinash Dongre 2013-05-17, 18:51
Copy link to this message
-
Re: Build error mvn install
You need to compile with JDK7.  Your javac doesn't support 1.7.

J

On Fri, May 17, 2013 at 11:51 AM, Avinash Dongre <[EMAIL PROTECTED]> wrote:
> I am getting following build error
>
> [INFO] Fatal error compiling
>
> Embedded error: invalid target release: 1.7
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Fatal error
> compiling
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Fatal error
> compiling
> at
> org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:695)
> at
> org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:118)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> ... 17 more
> Caused by: org.codehaus.plexus.compiler.CompilerException: invalid target
> release: 1.7
> at
> org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:191)
> at
> org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:170)
> at
> org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:684)
> ... 20 more
> Caused by: java.lang.IllegalArgumentException: invalid target release: 1.7
> at
> com.sun.tools.javac.main.RecognizedOptions$GrumpyHelper.error(RecognizedOptions.java:75)
> at
> com.sun.tools.javac.main.RecognizedOptions$14.process(RecognizedOptions.java:380)
> at com.sun.tools.javac.api.JavacTool.processOptions(JavacTool.java:247)
> at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:207)
> at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:53)
> at
> org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:115)
> ... 22 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 5 seconds
> [INFO] Finished at: Sat May 18 00:19:48 IST 2013
> [INFO] Final Memory: 40M/370M
> [INFO]
> ------------------------------------------------------------------------
>
> thanks
> Avinash
+
Avinash Dongre 2013-05-18, 18:02
+
Avinash Dongre 2013-05-20, 17:32
+
Avinash Dongre 2013-05-20, 17:38
+
Jacques Nadeau 2013-05-20, 17:42
+
Avinash Dongre 2013-05-20, 17:48
+
Jacques Nadeau 2013-05-20, 18:20
+
Michael Hausenblas 2013-05-20, 20:04
+
Avinash Dongre 2013-05-21, 07:35
+
Michael Hausenblas 2013-05-21, 08:30
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB