354 Actions
comment
Why is jaxb not unmarshalling this XML document into a Java object?
I had altogether a different issue where I had updated the schema in xmlnamespace but didn't update in package-info.java. Thanks!
comment
Spring boot Security Disable security
This dependency is needed. <dependency> <groupId>org.springframework.security.oauth</groupId> <artifactId>spring-security-oauth2</artifactId> <version>2.0.2.RELEASE</version> </dependency>
comment
How to disable actuator security without disabling it totally with Spring Boot 2
The annotation EnableWebSecurity not needed. This dependency is needed. <dependency> <groupId>org.springframework.security.oauth</groupId> <artifactId>spring-security-oauth2</artifactId> <version>2.0.2.RELEASE</version> </dependency>
comment
Problem with GCP Secret Manager and Spring Boot app
This fixed it for me application-default login: cloud.google.com/docs/authentication/…
revised
How to disable Spring Cloud Google Secret Manager 4.x+ when running tests locally?
added 78 characters in body
Loading…
Loading…
comment
I am having a problem with intelliJ not finding the imports
'Always update snapshots' worked as it was picking up the wrong version.
comment
Intellij Cannot resolve symbol on import
'Always update snapshots' finally worked as it was picking up the wrong version.
comment
Intellij Cannot resolve symbol on import
Nothing else worked except this! The reload button on maven tab didn't do anything looks like. Only manually doing it from pom.xml -> reload worked. Intellij 2024.2.3
comment
Converting JSON data to Java object
What's Data here?
comment
Mockito 3.4.0 Static Mocking Exception
In my case, I had to close each of mockedStatic in individual tests. For some reason it didn't work in @AfterEach.
comment
Set value to mocked object but get null
injectMock can be used.
Loading…
comment
How to store long number as 64 bit encoded value in Bigtable?
Tried above links and documentation.
revised
How to store long number as 64 bit encoded value in Bigtable?
added 8 characters in body
Loading…
awarded
comment
XSLT: 'value-of select' using keys and conditions?
Create a variable and then use it inside the test. <xsl:variable name="x" select="//x"/> <xsl:choose> <xsl:when test="$x='false'"> <rel:email><xsl:value-of select="//email"/></rel:email> </xsl:when> <xsl:otherwise> <rel:customer> <rel:org-id><xsl:value-of select="//org-id"/></rel:org-id> </rel:customer> </xsl:otherwise> </xsl:choose>