{{theTime}}

Search This Blog

Total Pageviews

assertThat(T, Matcher) in the type Assert is not applicable for the arguments (long, Matcher)

This exception is thrown when assert compares different primitive types. 
  -- Change the expected value to be long.


assertThat(1L, equalTo(1))



assertThat(1L, equalTo(1L))

No comments:

java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport

SpringBoot Error: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.j...