So I want to use JPAQuery to make filtration in my spring app but this line:
@PersistenceContext
EntityManager em;
JPAQuery <Customer> jpaQuery = new JPAQuery<>(em);
is throwing:
java.lang.NoClassDefFoundError: com/google/common/collect/Multimap
Caused by: java.lang.ClassNotFoundException: com.google.common.collect.Multimap at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ... 72 more