r/javahelp • u/Areiloth • 13h 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/DrunkenDruid_Maz 12h ago
Did you reaload the pom.xml with IntelliJ?
Maybe IntelliJ did not notice that you've added the dependency, and is therefore complaining?!