Aggregation aggregation = newAggregation (
match(criteria)
)
solution
Import static newAggregation instead of nonstatic newAggregation
import static org.springframework.data.mongodb.core.aggregation.Aggregation.newAggregation;
Welcome to my Blog (http://javasolutionarchitect.blogspot.com/) My Objective is to share my experience in Determining problems and Providing/Creating Solutions. I am Java Architect, IBM Certified OOAD Solution Designer, TOGAF 8 practitioner, Oracle SOA Architect Certified Expert, Tibco Trained Professional, Cloud Specialist, Ceritfied Scrum Master
No comments:
Post a Comment