Maven project won't compile after upgrade to Intellij 13.1 from 12

后端 未结 6 1580
有刺的猬
有刺的猬 2020-12-16 17:53

My code no longer compiles after the upgrade. Imports from libraries that are included as maven dependencies show compile issue with Cannot resolve symbol. I have Invalida

6条回答
  •  悲哀的现实
    2020-12-16 18:55

    In my case Cannot reconnect error was caused by absence of class DependencyTreeResolutionListener as idea.log states. I've noticed that library containing this class is absent in maven3 plugin but present in maven2. So I copied maven-dependency-tree-1.2.jar from /plugins/maven/lib/maven2 to /plugins/maven/lib/maven3. Then I updated current maven project by pushing Reimport All Maven Projects button in Maven Projects tool window. After that error was gone.

提交回复
热议问题