??????????????jdk1.7??------------------ ???????? ------------------ ??????: "Li Yang"<[email protected]> ????????: 2016??6??13??(??????) ????5:13 ??????: "dev"<[email protected]>; ????: Re: mvn install error
Kylin requires JDK 7. Seems you are on JDK 6. On Sat, Jun 11, 2016 at 11:43 AM, TTS2???????? <[email protected]> wrote: > [INFO] --- exec-maven-plugin:1.4.0:exec (build_cube_with_engine) @ > kylin-it --- > Exception in thread "main" java.lang.UnsupportedClassVersionError: > org/apache/kylin/provision/BuildCubeWithEngine : Unsupported major.minor > version 51.0 > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:643) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) > at java.net.URLClassLoader.access$000(URLClassLoader.java:73) > at java.net.URLClassLoader$1.run(URLClassLoader.java:212) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:205) > at java.lang.ClassLoader.loadClass(ClassLoader.java:323) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) > at java.lang.ClassLoader.loadClass(ClassLoader.java:268) > Could not find the main class: > org.apache.kylin.provision.BuildCubeWithEngine. Program will exit. > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 01:34 min > [INFO] Finished at: 2016-06-11T11:22:50+08:00 > [INFO] Final Memory: 39M/372M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.codehaus.mojo:exec-maven-plugin:1.4.0:exec (build_cube_with_engine) on > project kylin-it: Command execution failed. Process exited with an error: 1 > (Exit value: 1) -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > > > > > > ------------------ ??????件 ------------------ > ??件??: "TTS2????????";<[email protected]>; > ????????: 2016??6??11??(??????) ????11:42 > ??件??: "dev"<[email protected]>; > > ????: mvn install error > > > > Kylin-it:Mvn install error > POM:<hbase-hadoop2.version>1.2.1</hbase-hadoop2.version> >
