Category "intellij-idea"

Intellij disable new line before annotated field for Kotlin

IntelliJ autoformat keeps adding a blank lines between class field declarations having annotations. Do you know how to disable it? This happens for kotlin files

pytest can't find module for tests

I have a structure like (not exact names) - my_project - app - repo - __init__.py - my_repo.py - services - __init__.py

Java, Intellij IDEA problem Unrecognized option: --add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED

I have newly installed IntelliJ IDEA 2021.2 (Ultimate Edition) Build #IU-212.4746.92, built on July 27, 2021 Licensed to XXXXXX Subscription is active until Aug

Intellij IDEA: "Cannot find declaration to go to" - message in a new javascript project

I'm getting "Cannot find declaration to go to in" message when try to Ctrl + click the path of an imported module This message shows up if the path contains "@"

IntelliJ IDEA breakpoints do not hit in dynamically loaded anonymous inner class

This is not your usual "my breakpoints don't work" question. Consider the following code: Runnable runnable = new Runnable() { @Override public void run()

Unable to import JDA into Maven - IntelliJ IDEA

I need to import JDA dependency into my Maven (Java) project, yet IDEA doesn't seem to be able to import it for some reason. I did as following: inside the pom.

Does the flow plugin work with remote debugging in Intellij?

Does the flow plugin work with remote debugging in Intellij? I am using flow plugin in Intellij. I see that it is not getting enabled, when I have a remote debu

How can I fix "unsupported class file major version 60" in IntelliJ IDEA?

I have a Gradle project in Ubuntu. It's written in Java 14. I have the Java 14 JDK installed. When I build it from the command line, everything works, but no

Scala error - Exception in thread "main" java.lang.UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.NativeIO$Windows.access0(Ljava/lang/String;I)Z

I have a requirement where i am reading data from a CSV file and writing data to a Delta table over scala on window OS. My scala code is given below:- import co

IntelliJ : Cannot resolve method 'run(java.lang.Class, String[])'

I've encountered a problem where on all of my applications, there's a red cross on the top right. I can run it, but the cross doesn't seem to go away. I've open

Run loom demo on IDEA

I want to run loom's demo, I downloaded jdk18-loom from http://jdk.java.net/loom/, and downloaded the latest version of IDEA: No matter I choose X or 17-previe

Maven test fail on terminal but passes in IntelliJ

My Spring Boot application uses TestNG and it has the surefire plugin. I am attempting to package it on the terminal but it keeps failing on the maven test step

Cannot determine path to 'tools.jar' library for 18 (C:/Program Files/jdk-18.0.1.1)

i want to run my code in intellij ide (community edition) and when i try to run it, i got this error Cannot determine path to 'tools.jar' library for 18 (C:/Pr

Create GWT project in Intellij IDE

I'm beginner in using IntelliJ IDEA IDE and I want to create a new GWT project. I have added the GWT plugin to IntelliJ IDEA and now and I want to create a proj

JPS incremental annotation processing is disabled. Compilation results on partial recompilation may be inaccurate

Since IntelliJ IDEA 2020.3.2 (I use Community Edition), I started getting: Parsing java... [applicationname] java: JPS incremental annotation processing is disa

JPS incremental annotation processing is disabled. Compilation results on partial recompilation may be inaccurate

Since IntelliJ IDEA 2020.3.2 (I use Community Edition), I started getting: Parsing java... [applicationname] java: JPS incremental annotation processing is disa

var keyword gives an error in IntelliJ (Wildcards may be used only as reference parameters)

When I write this code in IntelliJ, it gives this error: Wildcards may be used only as reference parameters. Here is my code static <T extends Iterable<

How to enable spring security kotlin DSL?

How can we enable support for the spring security kotlin DSL? As you can see from the Screenshot of the IDE (IntelliJ), the DSL is not available: This is the f

Kotlin @Serializable annotation not working in IntelliJ

I'm trying to use the @Serializable annotation in Kotlin. I can build the project with Gradle, but it's showing up red in IntelliJ and when I hover on the @Seri

Updated intellij messed up Kotlin with 'Check your module classpath for missing or conflicting dependencies'

Lot's of frustration here. I decided to follow the pop-up prompting an intellij upgrade so it'd stop nagging me. And now I get a compiler error on certain parts