Skip to content

Conversation

@dtreskunov
Copy link
Owner

No description provided.

Denis Treskunov added 9 commits December 6, 2023 11:46
spring boot 3 requires java 17
VS Code wasn't happy running on java 19.

installed java17:
`brew install openjdk@17`

ensured that VS Code setting java.import.gradle.java.home was set to (output from):
`/usr/libexec/java_home -v17`
4 failing tests:

* FileFormatTests. testECEncryptedPKCS8()
* IntegrationTestUsingMockMvc. protectedEndpoint_revoked()
* IntegrationTestUsingRealServer. happyCase_updateCertificate()
* IntegrationTestUsingRealServer. serverRejectsRevokedClient()
`using curve name prime256v1 instead of secp256r1`

after updating my macos to sonoma (14.1.1), I needed to ensure that
OpenSSL 1.1 is the default:

`brew install openssl@1.1`
`echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.zshrc`

there are 2 tests that are failing on my macos:

* IntegrationTestUsingMockMvc. protectedEndpoint_revoked()
* IntegrationTestUsingRealServer. serverRejectsRevokedClient()
```
    Caused by: java.lang.NoClassDefFoundError: jakarta/servlet/http/HttpSessionContext
    	at org.eclipse.jetty.servlet.ServletContextHandler.newSessionHandler(ServletContextHandler.java:339) ~[jetty-servlet-11.0.18.jar:11.0.18]
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants