Category "intellij-idea"

Intellij gradle kotlin project generate .class files in both java and kotlin directory

I have a Gradle Kotlin project setup in Intellij, The source directory is as follows: src main kotlin resource test kotlin resource When I

Breaking on unhandled exceptions in other people's code

Note: this entire discussion is exclusively about unchecked exceptions. Checked exceptions have nothing to do with what I am talking about here. So, I have my I

Java file outside of source root intelliJ

I have cloned a spring boot project from GitLab having multiple branches in IntelliJ. I checkout to the branch in which I want to work. But I am getting "Java f

How to generate a jar and native bundle (dmg, exe, etc) from the same code in JavaFX

I have a JavaFX app setup in IntelliJ. This app can run from the command line and as a gui from the jar. In addition to the two modes from the jar, I want to al

How to Change Read-Only Status of Files in intellij

I have a Java project and I want to modify it in intellij but I can't do it because of this " read-only file " or "file is not writable" , so how I can modify

intellij println declaration [closed]

I am trying to use ''sout'' keyword in intellij for calling system.out.println() quickly but it seems like doesnt work. Looks like, I have som

Java - JAR file would not execute from the terminal command line

I am relatively new to Java I finished tutorial where an example of how to create and run JAR file was explained. Could you give an advice of what should be don

How to format only changed line instead of the whole file in Intelijj IDEA

Intellij format complete file when I use Ctl+Atl+L for from menu code-> Reformat Code. This generates whole diff in git commit. I want to format only the cod

Remote Debugging of Tomcat/Wildfly server in docker container in VSCode/Intellij

I want to remote debug a Java application in Wildfly/Tomcat embedded in a Docker container. I want to debug the application in VsCode; I also tried to remote de

Error running Cucumber tests with Gradle in IntelliJ Error

I got subject error when run cucumber api tests with Gradle via IntelliJ. Same error when runing commandline as well with gradlew cucumber ( Below is my edit co

JavaFX Modular Application, java.lang.module.FindException: Module javafx.controls not found (Java 11, Intellij)

I have a problem with my modular JavaFX application. I created a JavaFX project and added the JavaFX lib and JavaFX modules get recognized. However, I keep gett

Error occurred during initialization of boot layer java.lang.module. FindException: Module javafx.controls not found

I am trying to build the sample javaFX application in the Intellij 2018.3 IDE. I have installed the oracle JDK11, and downloaded openjfk11. I created a library

What meaning red-green arrow in Class/Method in hint/search window?

What meaning pr symbol red-green arrow in class/method searcher/hinter?

Unable to create a new module (module already exists) Intellij

I am trying to create a new module in my project. As soon as I specify the name of the module, Intellij throws "That this module already exists". After I exit t

Failed to determine a suitable driver class

when starting the application, see the below error: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.

Intellij IDEA highlight all occurrences of selected text

Currently, intellij highlights all occurrences of the word under the caret. How can I change it so that it doesn't do that, and instead will highlight all occur

Intellij can't find java.net.http when compiling with Java 11

I'm trying to get one of my projects ready for Java 11 but for some reason Intellij can't find java.net.http. It isn't underlining it as not found in module-inf

Serenity BDD Hooks implementation returns error

I am trying to implement some hooks into the serenity BDD implementation with intellij. My hooks file looks like this: package steps; import org.openqa.seleniu

Add space in self closing tags before in self closing tags

How do you include a space before the closing tags in self closing tags with WebStorm/IntelliJ-based products? Default settings turns <ReactComp /> to &l

Spring boot, JSP file as view not loading when run in IntelliJ

I've created a simple Spring Boot Web Application in intelliJ. I've placed a simple .jsp file in the /src/main/resources/templates/ folder which contains some b