???????? skiptest????????????  ?????????????????? 
????????????????????????------------------ ???????? ------------------
??????: "85546017"<[email protected]>
????????: 2016??6??13??(??????) ????10:46
??????: "dev"<[email protected]>;
????: ?????? mvn install error


1.jdk 1.7 ???????? 2.????kylin-it???????????? 3.????hbase????????????1.2.1 
kylin-it?????????????????????????? 
????????????????????????????????kylin-hbase-bin??????  ?????????????? ???????? 
thank you very much------------------ ??????&#x4EF6; ------------------
??&#x4EF6;??: "Dong Li"<[email protected]>
????????: 2016??6??13??(??????) ????6:49
??&#x4EF6;??: "dev"<[email protected]>;
????: ?????? mvn install error


Have you installed multiple JDK? And do you have JRE6 in your environment.


build_cube_with_engine is for test. If you don??t need test, you can add 
??-skipTests?? to mvn command.


Thanks,
Dong


Original Message
Sender:[email protected]
Recipient:[email protected]
Date:Monday, Jun 13, 2016&#x2007;18:17
Subject:?????? mvn install error


(build_cube_with_engine)?????????????? ??????????????????------------------ 
??????&#x4EF6; ------------------ ??&#x4EF6;??: "85546017"[email protected] 
????????: 2016??6??13??(??????) ????6:11 ??&#x4EF6;??: 
"dev"[email protected]; ????: ?????? mvn install error 
??????????????jdk1.7??------------------ ??????#x4EF6; ------------------ 
??#x4EF6;??: "Li Yang"[email protected] ????????: 2016??6??13??(??????) 
????5:13 ??#x4EF6;??: "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       
------------------ ??????#x4EF6; ------------------  ??#x4EF6;??: 
"TTS2????????";[email protected];  ????????: 2016??6??11??(??????) ????11:42  
??#x4EF6;??: "dev"[email protected];   ????: mvn install error     
Kylin-it:Mvn install error  POM:hbase-hadoop2.version1.2.1/hbase-hadoop2.version

Reply via email to