Intellij maven imports have broken classpath

后端 未结 7 2239
情话喂你
情话喂你 2021-02-14 01:50

I\'m using Intellij 13, I\'ve been using Maven quite happily for awhile now to manage the JAR dependencies.

But the last few I\'ve imported are causing a broken classpat

7条回答
  •  灰色年华
    2021-02-14 02:23

    In my case I was having this exact problem because I was trying to import a local jar-with-dependencies without classifier. To solve this I just needed to add jar-with-dependencies to the maven dependency, e.g.:

        
            com.my.group
            myartifact
            1.0
            jar-with-dependencies
        
    

    Hope this helps someone.

提交回复
热议问题