List<Customer> list = session.createQuery(hql).setParameter("a", 2l).list();
The type java.time.Instant cannot be resolved. It is indirectly referenced from required .class files
暂没有找到
将jre版本改为1.8+
SetParameter错误:java.time.Instant cannot be resolved
原文:https://www.cnblogs.com/browselife/p/10679739.html