啟動springboot報該異常!
這個看不出什么,再往前coused by
Error creating bean with name 'esBlogRepository': Invocation of init method failed; nested exception is org.springframework.data.mapping.PropertyReferenceException: No property contain found for type String! Traversed path: EsBlog.content.
可能是我的elacticesearch沒有啟動,因為esBlogRepository extends ElasticsearchRepository
不是該原因
發現是使用jpa動態查詢語句寫錯了
