-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,406
  • 4
  • 39
  • 85
user5417542
  • 3,146
  • 6
  • 29
  • 50

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,738
  • 21
  • 105
  • 131
mengjiann
  • 275
  • 3
  • 12