-1

Hi I am new to Java Development, especially IntelliJ. From a colleague, who uses Eclipse I received a Maven Spring Project. It worked fine, it would download all dependencies. However as soon as I started the server it would tell me, that files which I declared as resources couldn't be found.

So I looked into my project settings and added it as the dependency:

enter image description here

But this does only work when I set the Dependencies storage format to Eclipse.

How can I change this to IntelliJ's format?

Or better, what is the difference between the classpath files from Eclipse and the .iml files from IntelliJ? Maybe I just need to adjust on IML file to take my resources.

ice1000
  • 6,120
  • 4
  • 35
  • 74
user5417542
  • 2,611
  • 5
  • 26
  • 43

1 Answers1

0

If it is a Maven project, you should add dependency using the pom.xml. This is one of the samples.

Peter Mortensen
  • 30,030
  • 21
  • 100
  • 124
mengjiann
  • 255
  • 3
  • 12