-
Notifications
You must be signed in to change notification settings - Fork 6k
Spring Security fails in Windows 10 with Caused by: java.lang.ClassNotFoundException: sun.reflect.Reflection #9412
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
Comments
@manueljordan, our CI builds against JDK 8 and it passes. Building with JDK 11 will give you the error that you are reporting. |
I thought the same, but how I indicated in the same tab of the terminal I changed Java to 8 and both
How that would be possible? I am using the Gradle wrapper and according with: contains:
I don't see a direct or indirect reference to
I change from JDK 11 to 8, so |
BTW really I did do:
So for any task the following structure/template works: I can confirm all the dependencies go to each custom path to Gradle and Maven local repository I use this approach in Mac (adapted to its environment syntax) and builds well For example:
observe is used |
I solved this using the following approach:
changing and using the
The complete ourput is:
BTW - I have the same results even after to:
I am going to create a new issue. |
Reported on #9421 |
Today (07 Feb 2021) in Windows 10 I cloned
Spring Security
and then:In the Terminal
And then:
gradlew.bat install
gradlew.bat build
The first passes well, but for the second always fails with:
About the Test report, for the
org.springframework.security.LdapServerBeanDefinitionParserTests
class and for theapacheDirectoryServerIsStartedByDefault
method shows:According with the
README.adoc
I must use Java 8, but it arises:What is wrong?
The text was updated successfully, but these errors were encountered: