I asked for a conditional query in springboot, so I used Criteria, but didn"t it need to provide a metamodel class? I customized one, but when I checked the null pointer exception at run time, I found that the metadata class could not be found. What should I do?
Test class
in Predicate p2=cb.equal (root.get (Biz_Ipmonitor_Config_.ser_name), ser_name); the class Biz_Ipmonitor_Config_ cannot be found if debug cannot be run here. How to deal with it