org.springframework.security.authentication.InternalAuthenticationServiceException

No message found under code locale .> is a org.springframework.security.authentication.InternalAuthenticationServiceException at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java: ) at org.springframework.test.web.servlet.result.RequestResultMatchers$ match(RequestResultMatchers.java: ) at org.springframework.test.web.servlet.MockMvc$ andExpect(MockMvc.java: ) at ksbysample.webapp.lending.web.LoginControllerTest$ログインエラーのテスト.存在しないユーザ名とパスワードを入力すればログインはエラーになる(LoginControllerTest.java: )

Solutions on the web52

  • via hatenablog.com by Unknown author, 1 year ago
    org.springframework.test.web.servlet.result.RequestResultMatchers$ match(RequestResultMatchers.java: ) at org.springframework.test.web.servlet.MockMvc$ andExpect(MockMvc.java: ) at ksbysample.webapp.lending.web.LoginControllerTest$ログインエラーテスト.ユーザパスワードログインエラー(LoginControllerTest.java: )
  • org.springframework.test.web.servlet.result.RequestResultMatchers$ match(RequestResultMatchers.java: ) at org.springframework.test.web.servlet.MockMvc$ andExpect(MockMvc.java: ) at ksbysample.webapp.lending.web.LoginControllerTest$ログインエラーテスト.ユーザパスワードログインエラー(LoginControllerTest.java: )
  • Cannot pass a null GrantedAuthority collection at org.springframework.security.authentication.dao.DaoAuthenticationProvider.retrieveUser(DaoAuthenticationProvider.java:110)
  • Stack trace

    • org.springframework.security.authentication.InternalAuthenticationServiceException: No message found under code locale .> is a org.springframework.security.authentication.InternalAuthenticationServiceException at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java: ) at org.springframework.test.web.servlet.result.RequestResultMatchers$ match(RequestResultMatchers.java: ) at org.springframework.test.web.servlet.MockMvc$ andExpect(MockMvc.java: ) at ksbysample.webapp.lending.web.LoginControllerTest$ログインエラーのテスト.存在しないユーザ名とパスワードを入力すればログインはエラーになる(LoginControllerTest.java: ) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.