spring-boot升级到导致hibernate-search不能用了,类转换异常。网上解决方案无效
解决方案1、https://blog.csdn.net/keeppractice/article/details/122556051
解决方案2、添加配置代理无效
<aop:aspectj-autoproxy proxy-target-class="true"/>
解决方案3、
template.execute(callback) 替换为template.executeWithNativeSession(callback)方法。
我项目没有用到HibernateTemplate这个对象。

报错代码:

内部报错代码

具体报错
