Importing maven projects is showing compile time errors which I am not able to resolve.

Answered
 

I am new to using IntelliJ Idea. I downloaded the example code from the site - Java Persistence With Hibernate and opened the project in IntelliJ Idea IDE. The IDE is showing all compilation errors even though I am able to build the project from my command line terminal using mvn clean install command. I am not sure where I am going wrong and I do not see any errors configuring the project. Please let me know where I am going wrong.

0
3 comments

What errors do you get?

Did you import the project from the root pom.xml?

Please share the logs: https://intellij-support.jetbrains.com/hc/articles/207241085.

Do you see any errors in the Maven Projects tool window?

The linked projects import and builds just fine for me, I don't see any errors:

0

Hi, 

   I do not know how to convey the errors I am getting. Can you please set up a hangout/skype where I can share and we can resolve the errors. I am struck on this for the past one week. 

 

Please find the screenshot of the errors I am getting

 

Regards,

Pradeep

0

It appears that Maven didn't import the project with all the dependencies.

Please upload the logs folder: https://intellij-support.jetbrains.com/hc/articles/207241085, see https://intellij-support.jetbrains.com/hc/articles/206869619 for the upload instructions. Or you can open a ticket with support where you can attach the files: https://intellij-support.jetbrains.com/hc/en-us/requests/new.

0

Please sign in to leave a comment.