Reputation: 355
I'm getting an error in eclipse "configure build path" for maven libraries which I have imported from maven.
And after cleaning the .M2 repositories of all libraries, updating the project, mvn installing and any thing else I could think of I still get these errors:
1 - Configure build path 2 - No class exist eclipse keeps sugesting that I use another annotation for EnableWebSecurity even tough its in the the build path...
Please help
Upvotes: 1
Views: 161
Reputation: 355
There where two issues
1 - As stated by @howlger I needed into insert maven compiler for version 11 of java...
<properties><maven.compiler.source>11</maven.compiler.source><maven.compiler.target>11</maven.compiler.target></properties>
2- Wrong dependency, I was using a diferent version for dependency. I used spring-core-security and needed to use spring-security-web-core
Thank you @howlger
Upvotes: 1