Home

1. During JDK setup in eclipse. If JDK does not support that means a JDK version related error.


Solution:


Add bellows two lines before -vmargs Line of eclipse.ini(C:\Users\roman\Desktop\eclipse\eclipse.ini) file


 -vm

C:\Java\JDK\1.8\bin\javaw.exe ( Use your java installation path of javaw.exe)




No comments:

Post a Comment

4. org.springframework.data.repository.query.QueryCreationException: Could not create query for public abstract java.util.List com.roman.demo.ProgrammerRepo.ProgrammerRepo.findN(java.lang.String)

 Solution :  Add below query annotation  @Query(value="SELECT * FROM programmer WHERE name = ?1", nativeQuery = true ) instead of ...