This is usually a configuration error – it means that the code you use refers to a class, but the class itself is not in the classpath. In this case, this may also be a dependency management error in the relevant elasticsearch POMS itself, because it should contain the required classes
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-high-level-client</artifactId>
<version>7.6.2</version>
</dependency>
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-client</artifactId>
<version>7.6.2</version>
</dependency>
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>7.6.2</version>
</dependency>
Complete dependency, OK
(pay attention to switching to your version number)
maybe your mood is broken at the moment. Don’t worry. I believe it will bring you good luck _ sup>
Read More:
- Class file for com.sun.beans.introspect.propertyinfo not found
- class.getResource () and ClassLoader.getResource How to fill in the parameters in ()
- elasticsearch NoClassDefFoundError error creating RestHighLevelClient bean
- [Solved] ERROR Failed to compile with 3 errors These dependencies were not found: * pdfjs-dist/es5/buil
- Spring boot integrates es cluster error report collection
- The route addition failed: Either the interface index is wrong or the gateway do es not lie on the s
- [Solved] Mac ES Startup Error: Exception in thread “main“ java.nio.file.NotDirectoryException
- Self test error when springboot accesses es and starts
- Failed to determine a suitable driver class
- Failed to determine a suitable driver class error in mybatis
- Altium designer20 failed to add class member: XXX and unknown pin
- [springboot] problem failed to determine a suitable driver class
- SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder“.
- Problem solving of failed to read candidate component class in Java
- The docker installation es reported an error of failed; error = – cannot allocate memory ‘(errno = 12)
- Elasticsearch in Spring uses Spel to dynamically create Index of Documet class
- SLF4J:Failed to load class “org.slf4j.impl.StaticLoggerBinder”
- Record once the solution of gradle dependency problem: failed to determine a suitable driver class
- Failed to load Main-Class manifest attribute from when the jar file is running
- Altium designer failed to add class member problem