hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18293) Only add the spotbugs dependency when jdk8 is active
Date Thu, 29 Jun 2017 05:15:04 GMT
Chia-Ping Tsai created HBASE-18293:

             Summary: Only add the spotbugs dependency when jdk8 is active
                 Key: HBASE-18293
                 URL: https://issues.apache.org/jira/browse/HBASE-18293
             Project: HBase
          Issue Type: Sub-task
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai
             Fix For: 1.4.0, 1.3.2, 1.2.7, 1.1.12

The spotbugs requires the java 8 so we should only add the spotbugs dependency when jdk8 is
[INFO] Fork Value is true
     [java] Exception in thread "main" java.lang.UnsupportedClassVersionError: edu/umd/cs/findbugs/FindBugs2
: Unsupported major.minor version 52.0
     [java] 	at java.lang.ClassLoader.defineClass1(Native Method)
     [java] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
     [java] 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
     [java] 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
     [java] 	at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
     [java] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
     [java] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
     [java] 	at java.security.AccessController.doPrivileged(Native Method)
     [java] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
     [java] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
     [java] 	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)

This message was sent by Atlassian JIRA

View raw message