Questions tagged [intellij-idea2017]
22 questions
39
votes
2 answers
How to sort properties by name in IntelliJ IDEA debugger?
Is there any way to sort the properties of an object by their names when using the Java debugger?
For example, I'm seeing this:
And I'd like to see this:

Thoomas
- 2,150
- 2
- 19
- 33
16
votes
2 answers
warning: unknown enum constant Status.STABLE
In the quest to solve this and somehow that, I was trying out to create packages to subdivide main and test classes and then to make use of compiler with added modules to execute the unit-tests. Not a very good way agreed, but just a hypothetical…

Naman
- 27,789
- 26
- 218
- 353
16
votes
2 answers
Intellij doesn't see some non-public JDK 9 classes during compilation
I have a project that used JDK 8.0 before and now migrating to JDK 9. The project is not modularised yet.
All problems with closing access to private JDK API fixed and I'm able to build the project from the command line using maven, 1.8 language…

Dmitry Spikhalskiy
- 5,379
- 1
- 26
- 40
9
votes
2 answers
Default imports from sun instead of java package in intelliJ
My current system(MacOS 10.10.5) configuration is :
IntelliJ IDEA 2017.2.2
#Built on 9August,2017
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Every time I start working on a project(currently 1.8.0_65) and write a class using…

Naman
- 27,789
- 26
- 218
- 353
5
votes
1 answer
Intellij DB Console file cache?
Long story short, I wrote this really nice SQL query a few days ago.
Then I closed the DB console tab with that query on it and cannot locate it anywhere.
Has the file been lost, or is it some IntelliJ cached / system folder?
The reason I ask, is…

tomaytotomato
- 3,788
- 16
- 64
- 119
5
votes
1 answer
Intellij IDEA 2017.2 can't add openjk 9 on Linux Mint 18
I am using Intellij IDEA 2017.2.5 on Linux Mint 18.2 and trying to add new openjdk-9 SDK but IDEA does not accept openjdk 9 as valid JDK:
I have installed all of my SDKs using apt-get from ppa standard repositories.
This is my update-alternatives…

Kayvan Tehrani
- 3,070
- 2
- 32
- 46
4
votes
1 answer
Service interface provided but not exported or used warning in module-info class
Java9 - jdk-9+181
intelliJ - 2017.2.2 built on August 9,2017
The java.management.rmi's module-info.java implementation is somewhat like:
module java.management.rmi {
...
requires transitive java.management;
exports…

Naman
- 27,789
- 26
- 218
- 353
3
votes
2 answers
Intellij does not run Junit5 tests
This is a related question to Maven surefire plugin does not detect Junit5 tests and I have read the userguide.
I have the following in my pom.xml and when I run the maven install the test gets run.
…

Kannan Ekanath
- 16,759
- 22
- 75
- 101
3
votes
2 answers
Is there a way to apply IDEA "malformed format string" intention to custom methods?
When writing code of the form:
String.format("blah %s %s", value1);
IntelliJ will warn that there is a mismatch between the number of format patterns and actual arguments: too few arguments for format string (found:1, expected: 2).
Is there any…

Shorn
- 19,077
- 15
- 90
- 168
2
votes
0 answers
Unable to debug JavaScript in IntelliJ 2017.3.x
I am developing a React app with Jest tests. With IntelliJ 2017.2.x, I could set a break point in a test and click the debug button. When execution reached the break point, it stopped and I could do the usual debugging.
However, IntelliJ 2017.3.x…

Code-Apprentice
- 81,660
- 23
- 145
- 268
2
votes
2 answers
IntelliJ vertical line colouring - how to change it
How do i change the color of the vertical white lines in IntelliJ 2017.3
I found this guide but I think it's an older version. Haven't been able to find anything for…

Justin S
- 1,409
- 4
- 22
- 38
2
votes
4 answers
How to solve Element compilerArgs is not allowed here Error in maven compiler plugin?
I am using the maven compiler plugin 3.0 and I get the error "Element compilerArgs is not allowed here". This seems to work for command line but I get this Error in the IDE,.I use IDEA 2017.2 community edition. There is likely some schema missing…

patrik
- 4,506
- 6
- 24
- 48
2
votes
1 answer
How to see dependency tree for JARS in IntelliJ using SBT
I am using intelliJ IDEA 2017.2.5 for spark-scala using SBT.
i have many dependencies jars but i wanted to know that which jar is getting downloaded or coming along BECOZ of which jar.
For example i have specified Jar_1 in my build.sbt file. Now…

AJm
- 993
- 2
- 20
- 39
2
votes
0 answers
Issue on autodeploy to remote Tomcat with IntelliJ 2017.2
I needed to change my project from Php to Java/Spring.
Everything was perfect for changing right now (all new Releases: Spring5, Java9, Tomcat9 and some other cool new stuff).
Its been a while since i was developing with Java and Tomcat and I am…

Sunchezz
- 740
- 6
- 21
1
vote
1 answer
Intellij IDEA: Repository test failed unable to access: error setting certificate verify locations
I have new empty public project in GitHub and i can't clone it. I installed new IntelliJ 2018 version and there's no GitHub option in File->New->Project From Version Control. So i've chosen Git option and added URL but it throws Repository test…

Mukhamedali Zhadigerov
- 811
- 1
- 15
- 32