Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-2199

Unable to build for JDK8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.5.0.final
    • 1.5.0.final
    • None
    • None

    Description

      [19:33:17]W:		 [Ant output]      [exec] [INFO] ignite-schema-import .............................. SKIPPED
      [19:33:17]W:		 [Ant output]      [exec] [INFO] apache-ignite ..................................... SKIPPED
      [19:33:17]W:		 [Ant output]      [exec] [INFO] ------------------------------------------------------------------------
      [19:33:17]W:		 [Ant output]      [exec] [INFO] BUILD FAILURE
      [19:33:17]W:		 [Ant output]      [exec] [INFO] ------------------------------------------------------------------------
      [19:33:17]W:		 [Ant output]      [exec] [INFO] Total time: 48.621s
      [19:33:17]W:		 [Ant output]      [exec] [INFO] Finished at: Thu Dec 17 10:33:16 CST 2015
      [19:33:17]W:		 [Ant output]      [exec] [INFO] Final Memory: 66M/653M
      [19:33:17]W:		 [Ant output]      [exec] [INFO] ------------------------------------------------------------------------
      [19:33:17]W:		 [Ant output]      [exec] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project ignite-core: Compilation failure: Compilation failure:
      [19:33:17]W:		 [Ant output]      [exec] [ERROR] /home/teamcity/buildAgent/work/4b78de95608af2b1/apache-ignite/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheBinaryEntryProcessorSelfTest.java:[165,21] reference to assertEquals is ambiguous
      [19:33:17]W:		 [Ant output]      [exec] [ERROR] both method assertEquals(java.lang.Object,java.lang.Object) in junit.framework.TestCase and method assertEquals(int,int) in junit.framework.TestCase match
      [19:33:17]W:		 [Ant output]      [exec] [ERROR] /home/teamcity/buildAgent/work/4b78de95608af2b1/apache-ignite/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheBinaryEntryProcessorSelfTest.java:[169,21] reference to assertEquals is ambiguous
      [19:33:17]W:		 [Ant output]      [exec] [ERROR] both method assertEquals(java.lang.Object,java.lang.Object) in junit.framework.TestCase and method assertEquals(int,int) in junit.framework.TestCase match
      [19:33:17]W:		 [Ant output]      [exec] [ERROR] -> [Help 1]
      [19:33:17]W:		 [Ant output]      [exec] [ERROR] 
      [19:33:17]W:		 [Ant output]      [exec] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [19:33:17]W:		 [Ant output]      [exec] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [19:33:17]W:		 [Ant output]      [exec] [ERROR] 
      [19:33:17]W:		 [Ant output]      [exec] [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [19:33:17]W:		 [Ant output]      [exec] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      [19:33:17]W:		 [Ant output]      [exec] [ERROR] 
      [19:33:17]W:		 [Ant output]      [exec] [ERROR] After correcting the problems, you can resume the build with the command
      [19:33:17]W:		 [Ant output]      [exec] [ERROR]   mvn <goals> -rf :ignite-core
      [19:33:17]W:		 [Ant output]      [exec] Result: 1
      
      

      Attachments

        Activity

          People

            skozlov Sergey Kozlov
            skozlov Sergey Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: