Spring boot ElasticSearch,出現ElasticsearchRepository.refresh()! No property refresh found for type錯誤...
- 在使用實體類上同時註解@Entity @Document
- jpa search Repository放在同一個包下面
會出現這個錯誤
解決方案: - 將jpa search Repository放在不同的包下面
@EnableElasticsearchRepositories(basePackages = "com.xxxx.elsearchrepository")
@EnableJpaRepositories(basePackages = {"com.xxxx.jparepository"})
相關文章
- Spring Boot建立DataSource時遇到的錯誤:No supported DataSource type foundSpring Boot
- 出現錯誤 Project ‘org.springframework.boot:spring-boot-starter-parent’ not foundProjectSpringFrameworkboot
- 問題No property 屬性名 found for type 類名
- PropertyReferenceException: No property courseId found for type CoursePic! Did you mean ‘courseid‘?Exception
- PyTorch出現錯誤“RuntimeError: Found dtype Double but expected Float”PyTorchError
- Angular 內容投影出現 No provider for TemplateRef found 錯誤的單步除錯AngularIDE除錯
- Spring Boot 教程 - ElasticsearchSpring BootElasticsearch
- Spring Boot 整合 elasticsearchSpring BootElasticsearch
- 七、Spring Boot 錯誤處理原理 & 定製錯誤頁面Spring Boot
- Spring Boot返回靜態錯誤頁面Spring Boot
- Spring boot/Spring 統一錯誤處理方案的使用Spring Boot
- ElasticSearch與Spring Boot整合ElasticsearchSpring Boot
- Spring Boot配置是遇到錯誤:jdbcUrl is required with driverClassNameSpring BootJDBCUI
- Spring Boot配置錯誤:Failed to determine a suitable driver classSpring BootAIUI
- 使用Spring Boot和Elasticsearch教程Spring BootElasticsearch
- Spring Boot 整合 Elasticsearch 實戰Spring BootElasticsearch
- 小程式錯誤:Component is not found in path
- Spring refresh方法Spring
- Laravel 出現 419 錯誤Laravel
- Opencv出現detecMultiScale錯誤OpenCV
- Cannot set property ‘type‘ of null(vue)NullVue
- 使用 Spring Boot 提供API錯誤訊息的好方式Spring BootAPI
- Property visible must be accessed with $ or _ are not proxied in the Vue instance to prevent錯誤Vue
- PostgreSQL cache lookup failed for type XXXX 錯誤SQLAI
- AS打包出現app:transformClassesAndResourcesWithProguardForRelease錯誤APPORM
- 使用 sudo 命令出現錯誤
- SSH出現Connection refused錯誤
- flutter和Android混編下出現“No implementation found for method xxxx on channel”錯誤FlutterAndroid
- Spring Boot整合Hystrix實現服務容錯Spring Boot
- Eclipse 啟動專案錯誤:class not foundEclipse
- eclipse中:The type java.lang.object cannot be resolved錯誤(jdk配置錯誤)EclipseJavaObjectJDK
- Spring Boot + Nacos 實現不停服釋出Spring Boot
- 如何處理 Spring Boot 中與快取相關的錯誤?Spring Boot快取
- 使用Elasticsearch實現Spring Boot的自動完成功能 -Milos BiljanovicElasticsearchSpring Boot
- android 打包出現錯誤Error: ResourceNameAndroidError
- Flutter 最常出現的典型錯誤Flutter
- Property 'context' does not exist on type 'NodeRequire'.ts(2339)ContextUI
- 在 Spring Boot 中使用搜尋引擎 ElasticsearchSpring BootElasticsearch
- 《Elasticsearch技術解析與實戰》Chapter 1.4 Spring Boot整合ElasticsearchElasticsearchAPTSpring Boot