Spring Boot projesinde şu hatayı almaya başladım , neden kaynaklandığını bulamadım.
Yardımcı olabilcek var mı.
Caused by: java.lang.ClassNotFoundException: org.springframework.security.web.util.matcher.RequestMatcher
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Could not evaluate condition on org.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration$EndpointWebMvcConfiguration due to org/springframework/security/web/util/matcher/RequestMatcher not found. Make sure your own configuration does not rely on that class. This can also happen if you are @ComponentScanning a springframework package (e.g. if you put a @ComponentScan in the default package by mistake)
bazı gereksiz jarları indirmeye calışan maven dependency leri eklemiş bir import yapınca
hepsi şu HttpStatus ü import etmeye calışırken, arka tarafta .pom a eklemiş kendisi.
@ResponseStatus(HttpStatus.CREATED)
<dependency> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty</artifactId> <version>6.1.26</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty.aggregate</groupId> <artifactId>jetty-all</artifactId> <version>9.2.13.v20150730</version> </dependency>