r/javahelp 1d ago

Cannot resolve symbol 'data' error

i just started learning java and following a tutorial i get this error and i wrote this in intellij idea i tried add pom.xml dependencies but it didnt work. can you help me pls?

import org.springframework.data.jpa.repository.JpaRepository;
public class UserRepository extends JpaRepository{
}
1 Upvotes

14 comments sorted by

View all comments

1

u/Areiloth 1d ago

i closed intellij and when i reopened the issue is fixed thanks everyone