[Solved] spring .save cannot be referenced [duplicate]


remove static from the autowired field and replace UserEntryRepository.save(entry); with userEntryRepository.save(entry);

2

solved spring .save cannot be referenced [duplicate]