Category "intellij-idea"

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

Cucumber: Can't convert DataTable to List<java.lang.String>. There was a table cell converter but the table was too wide to use it

Feature file: Scenario: Login to application Given I open my application And I login with following credentials | admin | pass1234 | StepDefs: @When("^I lo

How to disable Kotlin compiler in IntelliJ IDEA for Maven Java projects?

I have a Java only multi module Maven project in IntelliJ IDEA and I can see IDEA calling a Kotlin compiler whenever I rebuild a module or choose to run all tes

Error building maven project in Intellij : "object apache is not a member of package org"

Whenever I try to run my main program directly in IntelliJ I get this error: Error:(5, 12) object apache is not a member of package org import org.apache.common

GIT - IntelliJ : Failed to start Git process

I m getting this message when I try to pull or to push my commits using IntelliJ : "Failed to start Git process" In the settings of my IntelliJ I linked t

Installing new Scala SDK 3.x.x on IntelliJ

I need to run Scala 3.x.x from IntelliJ. This is how I am trying to install it: Click File > Project Structure... Click on the "+" button (New Project Libra

How can we programmatically get call hierarchy for methods in IntelliJ

Getting call hierarchy is easy in IntelliJ. Simply use the built in tool. But is there a way to do it using code? Eclipse internal JDT has two classes called Ca

How to solve Error: Invalid or corrupt jarfile

I have a Intellij Gradle project for HelloWorld. The program runs in the IDE but running the jar files with an invalid or corrupt jar error. I made several chan

Intellij Spring Initializr not available

I'm using Intellij IDE to code spring Boot. Spring Initializr was not available for me in the new project option as in. http://blog.jetbrains.com/idea/2015/03

"Graphics Device initialization failed for : d3d, sw" for JavaFX on IntelliJ IDEA Windows

While trying to run a simple JavaFX program on IntelliJ IDEA, I kept getting a long line of errors in the console that started with "Graphics Device initializat

Problem with creating Java project in IntelliJ

I've downloaded IntelliJ but for some reason, I cant find a generator for java. I've shown it too a few friends but they cant see whats wrong either, because th

Run spark program locally with intellij

I tried to run a simple test code in intellij IDEA. Here is my code: import org.apache.spark.sql.functions._ import org.apache.spark.{SparkConf} import org.apa

IntelliJ Error:Kotlin: Module was compiled

I have used IntelliJ IDE just for Spring Boot project. Strong NOTE that I have not used any Kotlin project. But, today, I have an error below. Any professional

Compilation error: duplicate class with MapStruct in IntelliJ IDEA 2019.1

I am using Mapstruct for mapping between different Java Beans, but after installing the latest IntelliJ update, Compilation is getting failed with error: Comp

Ignore a folder in search results

I'm searching for a string and getting matches in a source folder, and a build folder (file in source gets copied to build during build). I do not need the bui

How to open new URL in the same tab with Selenium, but with some way with editing the URL?

I want to open a new URL in the same tab in Selenium, but I need to somehow edit the URL. What working options are there? I am thinking about navigating by keys

"No main manifest attribute" when creating Kotlin jar using IntelliJ IDEA

When creating a jar from my Kotlin code and running it, it says "No main manifest attribute". When looking at the manifest.mf, it has this content: Manifest-Ve

IntelliJ (2018.3) with Thymeleaf - NO auto completion on paths to static content?

Code completion for paths and filenames do NOT seem to work in IntelliJ with Thymeleaf: th:src="@{...}" attributes - e.g. files in the resources/static/ folder.