BAD MAVEN INTEGRATION

已回答

Gentleman,

The one thing in Intellij that makes me furious is the fact that Intellij cannot find my dependencies while maven builds correctly. This means that I cannot run tests or analyse correctly because the bloody editor is read all over. This needs really serious attention. I pay for this IDE to help me and if a basic thing like this is still not working after I followed all the points that should help, I think you have some work to do.

0

Hello Pieter,

Am I got you right that you tried to run "Reimport" from maven tool window and ""File | Invalidate Caches"? Is it reproducible with every maven project?

0

>This needs really serious attention
+100000

when there are few big projects Invalidate Caches takes too long and needs to be ran to ofthen to be an option. It's enough to switch between branches with somewhat different set of deps to get everything messed up.


0

Yevgen Bushuyev

The cause of the problem can be different in each particular case. It can be index miscalculation, Maven import process hiccup or other seemingly unrelated things like third-party plugins. Some of the problems that turned out to be bugs have already been dealt with, some are still WIP. In any event, each case needs to be dissected individually so that the actual problem can be identified. 

If you keep suffering from the same thing, please submit a new ticket to YouTrack describing the issue and steps to reproduce it. Provide additional information:

  1. Is the issue reproducible with all custom plugins disabled? Settings | Plugins | ⚙ | Disable all downloaded plugins
  2. Is it reproducible with every maven project or just a particular one?
  3. After the code has gone red, does it help if you right-lick on the main pom.xml and select "Maven > Reload project"?

Also attach or upload the logs generated with Help | Collect Logs and Diagnostics Data right after the issue is reproduced.

If possible, please attach a demo project that we can use to reproduce this.

0

请先登录再写评论。