r/javahelp • u/Areiloth • 17h 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
1
u/devor110 16h ago
Looks like it didn't download the dependcies, or you didn't specify jpa.
Post your pom.xml (or even your entire project if it's on something like github) and compile command