We now have full support of Spring Boot 2.0 on the Spring Boot Starters for Azure . Plus, with new Java and Spring extensions for VS Code you can build production-ready apps and easily deploy them to the cloud.
Hi everyone, sorry for possibly bad question, but I am having an interesting issue :
I have a spring boot application, that uses classic SQL based DBs, mongo AND we now need to connect to Cosmos DB.
Went straight by the manual, but what I am getting is java.lang.NoSuchMethodException: com.microsoft.azure.spring.data.documentdb.repository.support.DocumentDbRepositoryFactoryBean.<init>() during startup
Thanks for the feedback!!
@jhanlos could you please open an issue on GitHub? We can talk more there.
https://github.com/Microsoft/azure-spring-boot/issues
com.microsoft.azure.spring.autoconfigure.aad.AADAuthenticationFilterTest#beforeEveryMethod
There it says Assume.assumeTrue(!Constants.CLIENT_ID.contains("real_client_id"));
but the constant CLIENT_ID
contains exactly the string "real_client_id"
. So is this a (complex) way of ignoring tests, or is there something I don't understand?
2019-04-03 15:53:16.443 ERROR 17296 --- [nio-8080-exec-8] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception
java.lang.IllegalArgumentException: Missing attribute 'name' in attributes
at org.springframework.security.oauth2.core.user.DefaultOAuth2User.<init>(DefaultOAuth2User.java:67) ~[spring-security-oauth2-core-5.1.1.RELEASE.jar:5.1.1.RELEASE]
at org.springframework.security.oauth2.core.oidc.user.DefaultOidcUser.<init>(DefaultOidcUser.java:89) ~[spring-security-oauth2-core-5.1.1.RELEASE.jar:5.1.1.RELEASE]
at org.springframework.security.oauth2.client.oidc.userinfo.OidcUserService.loadUser(OidcUserService.java:93) ~[spring-security-oauth2-client-5.1.1.RELEASE.jar:5.1.1.RELEASE]
at org.springframework.security.oauth2.client.oidc.userinfo.OidcUserService.loadUser(OidcUserService.java:51) ~[spring-security-oauth2-client-5.1.1.RELEASE.jar:5.1.1.RELEASE]