Apress / pivotal-certified-pro-spring-dev-exam-02

Source Code for 'Pivotal Certified Professional Core Spring 5 Developer Exam' by Iuliana Cosmina
Other
168 stars 239 forks source link

How import the project? #22

Closed jmarin0802 closed 3 years ago

jmarin0802 commented 3 years ago

Hi, I have a problem, i try to import the project pivotal-certified-pro-spring-dev-exam-02, but I can find the solutions, what's happen here? help me please, i try to import the project in eclipse IDE and vscode but in anyone it don't working

all errors are similar in each of the classes and modules errores

do I need something else? mipc

iuliana commented 3 years ago

Hello @jmarin0802 ,

I am so sorry for seeing this issue so late. I use the same account for work and I think the notification got lost amon the work related ones.

As for the problems you are seeing, check IntelliJ IDEA setup and make sure it sets the Project SDK and Project language level to 11. Newer versions of IntelliJ IDEA set those to the most recent JDK version, so that might cause the issue depicted here, since the project does not build with versions > 13 and < 11.

If you manage to build the project with Gradle from the command line, then the editor setup is to blame.

Here you have proof that the buld works in terminak and in IntelliJ IDEA with Gradle 6.9 & Oracle JDK 13.

Cheers, Iuliana