ksprojects / zkcopy

ZooKeeper copy utililty
Apache License 2.0
240 stars 96 forks source link

项目编译不了 #13

Closed hitechr closed 7 years ago

hitechr commented 7 years ago

你好,ZkCopy中缺少ImmutableConfiguration这个类的引入,导致编译不了

kshchepanovskyi commented 7 years ago

Run mvn clean install.

hitechr commented 7 years ago

Run mvn clean install

`E:\WorkSpace\Git\zkcopy>mvn clean install

[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building zkcopy 0.2.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ zkcopy --- [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ zkcopy --- [WARNING] Error injecting: org.apache.maven.plugin.checkstyle.CheckstyleViolationCheckMojo java.lang.UnsupportedClassVersionError: com/puppycrawl/tools/checkstyle/api/CheckstyleException : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401) at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)`

kshchepanovskyi commented 7 years ago

You need JDK 8 to compile this project.

hitechr commented 7 years ago

compile OK,Thanks