Questions tagged [intellij-idea]

IntelliJ IDEA is an IDE by JetBrains. It primarily supports Java development, but also supports JavaScript, Groovy, HTML, CSS, RSS, R, Haskell, PHP, Ruby, Python, Scala, Swift, Clojure, Kotlin, Hybris, Gradle and others. Questions specifically concerning usage and problems in both Community and ...

0
votes
0answers
15 views

JPA autocompletion is not working in Intelliji spring-boot kotlin project

Created a simple JPA spring boot application like the attached screenshot, I found the JPA auto completion is not working anymore as java JPA. Any suggestions to make this auto completion work?
1
vote
1answer
33 views

@com.sun.istack.internal.NotNull annotation

I try to use the @NotNull annotation from package com.sun.istack.internal. I am using IDE Intellij IDEA Community Edition. when I build a program using IDE no problem. When I try to compile a file ...
0
votes
0answers
4 views

Spec2 test in Intellij with use sbt checked

When trying to run a spec2 test with Intellij with the "Use sbt" checkbox marked I get the following command line that is built by Intellij: [IJ]> {file:/home/user/IdeaProjects/foundation/}com/...
0
votes
0answers
14 views

How to install CodeNarc?

I am very new to stuff like that and I really can't understand the insufficient installation tutorial as a newbie. I use the IntelliJ IDEA on Windows where I like to add CodeNarc. I downloaded Groovy, ...
-5
votes
1answer
20 views

Cannot Resolve Symbol When Trying to Using Spark Aggregation Function

I want to try something like However, I got a warning from idea like what should I do?
1
vote
0answers
10 views

elm-package.json failing to load

I am attempting to create an Elm project in Intellij. To do this, I am using a fairly standard elm-package.json fle: { "version": "1.0.0", "summary": "helpful summary of your project, less than ...
0
votes
1answer
10 views

Creating a log4j2 Logger causes retrieval of JNDI naming context to fail when starting Tomcat webapp

I have a Java 7 webapp I'm trying to get working on a server running Tomcat 7. Before trying to use Log4j, my webapp has been able to start and run with no problems. Now, I'm trying to add and use ...
0
votes
1answer
11 views

IntelliJ Do not open file in single click

In Mac version of IntelliJ, I see a problem with navigation. Problem is: when I click any file using mouse or select using keyboard from Project view, it automatically opens the file in Editor. ...
0
votes
0answers
14 views

IntelliJ JUnit 5 test run fine as Gradle task. When run as individual test get exception: NoClassDefFoundError …/TestExecutionListener

Using IntelliJ IDEA version 2018.2.5 (Community Edition) and learning how to use JUnit 5 parameterized tests with Gradle based on JUnit 5 samples from the JUnit team. The test run as expected as ...
-1
votes
0answers
13 views

How to create C# unit test from actual code on Rider(IntelliJ)

I'm looking for how to create C# unit test from actual code on Rider(IntelliJ). Is there this function on Rider?
-2
votes
1answer
51 views

How to replace text in notepad using Java? [on hold]

I am creating the HANGMAN game in which I have a .txt file called Keyboard and its content is as follows:- Q W E R T Y U I O P A S D F G H J K L Z X C V B N M And to print this, I use the regular ...
0
votes
0answers
8 views

Shortcut vs some other way for putting banner at start of function

If I have to put say something like // *********************** at the start of every function, how can I do in intellij where I define a macro or sth or some other way? I am using Goland
0
votes
0answers
7 views

Uncomment smaller block inside commented block

Is there a shortcut to only uncomment a small block inside another big commented one? Example: /* foo1 { } foo2 { } foo3 { ...
0
votes
0answers
25 views

JAVA 11 and JavaFX in IntelliJ IDEA

I created JavaFX project in IntelliJ IDEA 2018. I have installed Java JDK 11 and my project (Maven) includes all needed dependencies: <dependencies> <dependency> <groupId&...
0
votes
0answers
20 views

Coursera assignment does not work. Sbt cannot synchronize the project because it cannot be compiled

I am quite at the beginner level so I would gladly accept some help to solve this problem... I am using IntelliJ IDEA 2018.2.5 Sbt version: 1.2.6 JDK version: 1.8.0_191-b12 Scala is used as IntelliJ ...
0
votes
1answer
37 views

Getting nullpointerexception while reading file from resource folder

I am getting NullpointerException when I try to read the file present in src/main/resources location. It occurs when I run in jar format. But when I compile the code and run it , its running fine in ...
1
vote
1answer
17 views

Sencha app build from Intellij Ant build throwing error ruby not detected [duplicate]

I am trying to run the Build - Production target in my extjs application by importing the sencha build.xml file as the ant configuration file. Most of the targets run except one in slice-impl.xml by ...
0
votes
1answer
23 views

Problem while setting up IntelliJ on Macos 10.13.2

I know for most of you this may seem a simple error, but I couldn't find any answer or a lead to the problem I'm facing, the main reason is that I'm new to Java Native and I'm not relevant to error ...
0
votes
2answers
77 views

GitHub Repository is exist, but there is no repository in GitHub repo list

I'm newbie on gitHub.. so i don't know deeply about git yet. I create repository in gitHub, using intellij commit. (I think it is my fault..) And commit is done, but in gitHub, what i committing ...
0
votes
0answers
10 views

JNI Error followed by Java Error when opening exectuable-jar

Good evening, I encountered a problem while building an executable jar with Intellij. Before I never encountered Problems with it, but this time there is JNI Error occured and a Java Error occured ...
0
votes
0answers
19 views

Autocomplete for gradle plugin

So I'm using this gradle plugin for android https://github.com/akaita/easylauncher-gradle-plugin. The gradle file is written in Groovy, and the utility files it makes reference to are defined in ...
0
votes
0answers
21 views

error: intellij error cucumber.api.cli.Main

I am using the intellij, maven and spring boot. when i am trying to run my application i am getting the error Error: Could not find or load main class cucumber.api.cli.Main github link https://...
1
vote
0answers
16 views

ERROR SparkContext: Error initializing SparkContext. java.lang.IllegalArgumentException: System memory 259522560 must be at least 471859200

So I am new to spark. My versions are: Spark 2.1.2, Scala version 2.11.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_131). I am using IntellijIdea 2018 Community on Windows 10 (x64). And whenever I ...
1
vote
2answers
36 views

Problems compiling and running Scala projects in IntelliJ Idea

I have installed the latest IntelliJ Idea vertion with the Scala plugin. I have created a SBT Scala project with the IDE. Unfortunately, I am not able to compile or run even the simplest "Hello World" ...
1
vote
2answers
27 views

Read S3 bucket files from Intellij using scala/spark

How to read Amazon s3 bucket files from Intellij ide installed on local machine using scala/spark?
0
votes
1answer
77 views

running IntelliJ idea from terminal prints everything has changed

I use manjaro linux and run applications from the terminal. Recently when I type idea (running I assume idea.sh, as this is what the top of the terminal says), and try to minimize and expand the idea ...
-1
votes
0answers
33 views

controller class not showing in scene builder

this is what i am getting no option here for slecting the clas i am using intelij idea and unable to load controller.java into scene builder it is not showing up in scene builder. i have tried closing ...
0
votes
0answers
16 views

Running lagom project in debug mode in intellij [on hold]

I have a very basic lagom java project running in my local machine. I run it locally with following command in intellij: mvn lagom:runAll I now need to debug it. How can this be done?
0
votes
1answer
19 views

Properly configure dispatcher-servlet, applicationContext and web.xml

First time using Spring (and new to MVC architecture as well) and Apache Tomcat and I'm able to load my index just fine after following a few videos/tutorials, but now that I'm trying to add other ...
0
votes
1answer
38 views

Intellij showing “Haxe SDK has no valid root” on linux

I'm not sure what's wrong with my haxe SDK setup in intellij running on Fedora Linux. I have the SDK pointed to /usr/bin/, which is where the executable is located according to the results of "which ...
1
vote
1answer
25 views

Idea keeps switching compile target from 1.8 to 1.6 for Kotlin

I am working on a new Kotlin project based on Maven and JDK 8 using Intellij Idea. Everything is great except after each Maven reimport the compile target switches from 1.8 to 1.6 for some reason. I ...
0
votes
1answer
19 views

how to figure out new DOM is appendend or not using selenium/java/javascript?

In selenium-java, after switching to frame new DOM is appended on existing DOM, when I call findelement method passing xpath of append dom, it is throwing me error staleelementnoreference exception. ...
0
votes
0answers
13 views

IntelliJ java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

I used IntelliJ. Starting my simple progect (Spring, JSF, Maven) I got next exception(GlassFish log): [2018-10-20T16:13:57.147+0300] [glassfish 5.0] [WARNING] [] [javax.enterprise.web] [tid: ...
0
votes
0answers
14 views

Running GWT Project in Intellij

I'm trying to run a GWT project in Intellij but without success. I'm using GWT 2.5.1 installed from my pom.xml file but i got ClassNotFoundException, see my configuration and error bellow: 1) My ...
0
votes
1answer
19 views

IntelliJ right click context does not show Generate option anymore on Windows 10

I'm not sure what happened to my IntelliJ Ultimate (probably a recent update?) but now it does not show me the Generate option when right clicking inside a Java class. This generate option would ...
0
votes
1answer
26 views

Newbie cannot properly run or debug fresh project using Gluon multi-view with FXML in IntelliJ

I created a brand new Gluon mobile multi view with FXML project in IntelliJ CE 2018.2.1 using the Gluon plugin version 2.7.0 and Gradle 4.10.1 I open the Gradle tool window, Pick Project(root), Tasks,...
0
votes
0answers
20 views

Dart The named parameter 'home' isn't defined

when I am trying to run an app in VS code, this message shows up "The named parameter 'home' isn't defined.". It is a general problem for all flutter projects .flutter doctor says no issues. I also ...
0
votes
0answers
14 views

How to move a directory in IntelliJ/Phpstorm into its own project?

I have a PhpStorm project that has two applications in it, and type hinting always shows a warning saying there are two instances of a class. I want to separate the applications into their own ...
1
vote
1answer
50 views

What is the difference between .sc and .scala file?

I am learning scala and got know that we can save scala file using two extensions, that is my.sc and my.scala. Here is the sample file which i created: my.scala object My { /** Our main function ...
-3
votes
0answers
28 views

I want to learn IntelliJ-IDEA, what would be the best source

Please suggest good learning source for IntelliJ
0
votes
0answers
9 views

Errors from Command line, but successful execution of A SERVLET from webpage using the URL. THANKS

package com.bisht.demos; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import ...
0
votes
1answer
18 views

Configuring @RunWith to use CucumberWithSerenity.class instead of Cucumber.class in IntelliJ runners

I have a gradle + Serenity + RestAssured automated check suite setup that I usually run via gradle commands in shell sessions, but sometimes I need to run single Scenarios using IntelliJ. When I run ...
0
votes
1answer
10 views

What are “parent environment variables” in context of JUNIT run configurations in IntelliJ

So if I go to Run Configurations -> Junit ->select some case I can set environment variables for that particular run configuration. I have noticed that there is a checkbox Include parent ...
0
votes
0answers
12 views

Cannot connect to a local database using xampp in intellij.

I use iOS and I can not connect to a local database using xampp in intellij. the database and how I connect through port 8080 activated in xampp I used xampp to create the database and imported the ...
0
votes
0answers
8 views

org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/dev]]

Since today, when I start intellij tomcat, I get that error. It was working the whole time fine, I cant remember that I changed any major thing. I hope someone can help me fixing this problem. Here is ...
0
votes
0answers
23 views

How to use different tsconfig file for tests?

in my project I use 2 different tsconfig files tsconfig.json tsconfig.specs.json - for testing how can I tell Intellij Idea to use both? i.e. In Settings - Langauges & Frameworks - TypeScript I ...
-1
votes
0answers
18 views

Idea Terminal in linux ubuntu padded line

I use idea in ubuntu.the terminal lines begin from middle of screen and padded.the terminal see like this:
0
votes
0answers
54 views

IntelliJ IDEA 2018.2, openjdk 11 and openjfx 11 (no maven, not modular project) : Module javafx.controls not found

I just created a new JavaFX project in intelliJ with an openjdk 11 and I've downloaded the last openjfx library on their website. Here is what I did : I've added to Run/Debug VM options : --module-...
0
votes
2answers
31 views

How to generate getters and setters for all field of scala in Intellij

I have a below code class TestData { private var name : String = _ private var age : Int = _ } When I try to generate getters & setters of the above in java class(alt + insert)-> generate-> ...
2
votes
0answers
20 views

IntelliJ IDEA default Monospaced font is not same as on the product page

I have just tried to install IntelliJ IDEA Ultimate (Trial) and Community Edition and use Darcula theme in addition to default settings in my PC with Windows 10 operating system. However, I have not ...