I have a weird problem. NiFi build fails in Eclipse. branch 'master' [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] nifi ............................................... SUCCESS [ 2.801 s] [INFO] nifi-api ........................................... SUCCESS [ 2.003 s] [INFO] nifi-commons ....................................... SUCCESS [ 0.056 s] [INFO] nifi-security-utils ................................ SUCCESS [ 0.153 s] [INFO] nifi-utils ......................................... SUCCESS [ 5.745 s] [INFO] nifi-data-provenance-utils ......................... SUCCESS [ 0.192 s] [INFO] nifi-flowfile-packager ............................. SUCCESS [ 0.363 s] [INFO] nifi-expression-language ........................... SUCCESS [ 5.391 s] [INFO] nifi-logging-utils ................................. SUCCESS [ 0.064 s] [INFO] nifi-properties .................................... SUCCESS [ 0.356 s] [INFO] nifi-socket-utils .................................. SUCCESS [ 0.351 s] [INFO] nifi-web-utils ..................................... SUCCESS [ 0.294 s] [INFO] nifi-processor-utils ............................... SUCCESS [ 0.568 s] [INFO] nifi-write-ahead-log ............................... SUCCESS [ 5.435 s] [INFO] nifi-nar-bundles ................................... SUCCESS [ 0.038 s] [INFO] nifi-framework-bundle .............................. SUCCESS [ 0.110 s] [INFO] nifi-framework ..................................... SUCCESS [ 0.052 s] [INFO] nifi-client-dto .................................... SUCCESS [ 0.238 s] [INFO] nifi-site-to-site-client ........................... SUCCESS [ 0.823 s] [INFO] nifi-hl7-query-language ............................ SUCCESS [ 1.252 s] [INFO] nifi-hadoop-utils .................................. SUCCESS [ 1.929 s] [INFO] nifi-bootstrap ..................................... SUCCESS [ 0.231 s] [INFO] nifi-mock .......................................... SUCCESS [ 0.597 s] [INFO] nifi-nar-utils ..................................... SUCCESS [ 0.449 s] [INFO] nifi-framework-core-api ............................ SUCCESS [ 0.310 s] [INFO] nifi-documentation ................................. SUCCESS [ 1.065 s] [INFO] nifi-runtime ....................................... SUCCESS [ 0.226 s] [INFO] nifi-security ...................................... SUCCESS [ 1.484 s] [INFO] nifi-user-actions .................................. SUCCESS [ 0.103 s] [INFO] nifi-administration ................................ FAILURE [ 0.672 s] . . .
[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 36.924 s [INFO] Finished at: 2016-04-19T16:32:02+03:00 [INFO] Final Memory: 99M/397M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18:test (default-test) on project nifi-administration: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.18:test failed: There was an error in the forked process [ERROR] java.lang.NoClassDefFoundError: org/apache/nifi/authorization/Authority [ERROR] at java.lang.Class.getDeclaredMethods0(Native Method) [ERROR] at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) [ERROR] at java.lang.Class.privateGetMethodRecursive(Class.java:3048) [ERROR] at java.lang.Class.getMethod0(Class.java:3018) [ERROR] at java.lang.Class.getMethod(Class.java:1784) [ERROR] at org.apache.maven.surefire.util.ReflectionUtils.tryGetMethod(ReflectionUtils.java:57) [ERROR] at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isSuiteOnly(JUnit3TestChecker.java:64) [ERROR] at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isValidJUnit3Test(JUnit3TestChecker.java:59) [ERROR] at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.accept(JUnit3TestChecker.java:54) [ERROR] at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.accept(JUnit4TestChecker.java:52) [ERROR] at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:97) [ERROR] at org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(JUnit4Provider.java:222) [ERROR] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:107) [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) [ERROR] Caused by: java.lang.ClassNotFoundException: org.apache.nifi.authorization.Authority [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:381) [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [ERROR] ... 16 more Any idea what might be a reason? Can Groovy settings be a problem? Thanks toivo -- View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/BUILD-FAILURE-java-lang-NoClassDefFoundError-org-apache-nifi-authorization-Authority-tp9321.html Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.
