Questions tagged [intellij-idea-2018]
42 questions
84
votes
18 answers
IntelliJ: Error: java: release version 10 not supported
In IntelliJ, I'm getting this strange error message when I try to build from the build menu
Error: java: release version 10 not supported
I don't understand this, since in Project Structure, I have these settings set:
Project SDK: 9.0
Project…

MiguelMunoz
- 4,548
- 3
- 34
- 51
24
votes
2 answers
How can I control the dependencies of IntelliJ Scratch files?
I have a scratch file using guava collections, and I get some weird errors that I have to assume is due to the editor and the actual run environment assuming different versions of the guava collections:
Exception in thread "main"…

K. M
- 867
- 1
- 8
- 17
8
votes
1 answer
Inspection info: Verifies @ConfigurationProperties setup. New in 2018.3 IntelliJ
I get the following hint in the latest IntelliJ Idea:
Not registered via @EnableConfigurationProperties or marked as Spring
component less... (Ctrl+F1)
Inspection info: Verifies @ConfigurationProperties setup. New in 2018.3
With the following…

powder366
- 4,351
- 7
- 47
- 79
7
votes
1 answer
Can't run tests .idea/modules' does not exist
I have the spring-boot project with two modules
But Idea does not generate ./idea/modules folders those when I am trying to run tests I got next error
' Cannot start process, the working directory /home/../my_project_name/.idea/modules' does not…

smaiakov
- 470
- 5
- 20
6
votes
2 answers
Intellij : Opening a project is stuck on loading forever
When I try to open a project, it keeps loading forever the file listing without giving a chance to do anything.
I tried to restart it, restart my machine and reinstall but couldn't solve the problem, please help!
Form intellij log, the following…

Ahmad Al-Kurdi
- 2,248
- 3
- 23
- 39
6
votes
2 answers
How to avoid reordering when optimize imports
Is there a way to prevents Intellij Idea to rearrange imports when it runs the optimize imports? I want to avoid this since I work on a large codebase where most of others programmers are using Eclipse. When Idea do the optimization (to remove…

alexpfx
- 6,412
- 12
- 52
- 88
5
votes
1 answer
How to create an empty commit via GUI in IntelliJ IDEA 2018.1 + Git Integration plugin?
Is there a way to create an empty commit (i.e. no actual changes) in IntelliJ IDEA 2018.1 (using git with the Git Integration plugin)?
I'm looking for the equivalent of
git commit --allow-empty -m "foo"
but using GUI.
Trying to commit an empty…

Attila Csipak
- 927
- 2
- 14
- 34
4
votes
1 answer
Hiding the tabs appearance of intellij idea 2018
I am trying to hide the tabs screen (which i placed on the left, see screenshot 2), just as other screen parts kan be hidden. I am using intellij idea 2018. I have the tabs appearance set to the left, see screenshot 2. I can't find any options to…

BramscoChill
- 383
- 4
- 17
4
votes
1 answer
Kotlin Add Integration Tests Module
I am trying to add another module to my Kotlin project specifically for integration tests - living alongside the standard test module creating by the kotlin plugin. Here is my current configuration to add the sourceset:
sourceSets {
…

Ian
- 73
- 1
- 4
4
votes
1 answer
Force push keyboard shortcut in IntelliJ IDEA 2018.1
In the IDEA 2017.3 I was able to do the force push in Push Commits window by pressing ALTP and then twice ALTF. This doesn't work in 2018.1 anymore. What's the shortcut that I can use from now on?

Michal Kordas
- 10,475
- 7
- 58
- 103
3
votes
1 answer
Intellij 2018.3.1 Unable to dump project structure from SBT project
Updating to Intellij Ultimate 2018.3 from 2018.2 broke the project sync of one of my project under SBT.
It is depending on another git repo in build.sbt
val commonScheme = "git+ssh://git@"
lazy val commonsGit =
…

whisust
- 176
- 3
- 16
3
votes
1 answer
Spring Boot run dashboard missing from Intellij IDEA 2018.2
I have added the Custom VM Option -Dide.run.dashboard=true in Help -> Edit custom VM options. But I cannot seem to find this "Run Dashboard" for Spring boot that which is mentioned in this JetBrains blog post…

Aseem Bansal
- 6,722
- 13
- 46
- 84
3
votes
0 answers
How do I resolve this error "verifier detected internal inconsistency or security prolbem" while remotely debugging a JVM in IntelliJ IDEA?
How do I resolve this error in IntelliJ IDEA 2018 while remotely debugging a JVM running inside docker inside a ubuntu VM.
Hot Swap failed.
host port: verifier detected internal inconsistency or security problem
host port: Verification error:…

user674669
- 10,681
- 15
- 72
- 105
3
votes
0 answers
Bug in Intellij 18.1 when I try evaluate expression with var
I have this code:
import java.util.List;
public class Main {
public static void main(String[] args) {
var first = List.of("a", "b", "c").stream().map(String::length).findFirst();
System.out.print(first);
}
}
When I run…

Everton Luis
- 151
- 4
3
votes
1 answer
Upgraded to Intellij 2018.1 and now I'm getting an error for public static final String constants that are referenced in SQL code
All my classes that have public static final String NAME = "value" that are used in SQL queries are now getting a compiler error " or DELIMITER expected, got 'lastname'".
You can also find the code below in case it helps replicate it.
public…

Stephane Grenier
- 15,527
- 38
- 117
- 192