-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot exclude JUnit 4 dependency #547
Comments
could you also provide the pom? |
If remove junit 4 exclusion in pom.xml, |
@ybelMekk can you reproduce the error from the sample code? |
Hello, the problem is the underlaying |
@ybelMekk it seems https://github.com/square/okhttp/tree/master/mockwebserver-junit5 is relevant? |
@ybelMekk junit5 is supported since mockwebserver 5 (currently alpha) See square/okhttp#7987 (comment) What do you think about the plan for mock-oauth2-server to catch up with mockwebserver 5? |
I tried to remove junit 4 and old mockwebserver, then follow square/okhttp#7987 (comment) but it doesn't work. Cannot bypass if mock-oauth2-server doesn't support it. |
@xuan-nguyen-swe, Ive added a working exclusion of |
This issue is stale because it has been open for 60 days with no activity. |
This issue is stale because it has been open for 60 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
|
updated to new alpha.. no, so many changes, we wait to a stable release.. |
I use Spring Boot 2.7.14, JDK 17, Kotlin 1.8.22, JUnit 5 (JUnit 4 is forbidden), so I add this to our pom.xml.
Next I add MockOAuth2ServerInitializer.java in your example.
Then I get this error
The text was updated successfully, but these errors were encountered: