How to execute All Suite tests with JUnit 5 in IntelliJ IDEA v2016.2.2? I get Empty test suite running this code: I receive: OR I receive: I was able to run suite with JUnit 4, but it doesn’t work with JUnit 5. Answer Short Answer If you are using IntelliJ IDEA 2016.2, it is currently not possible to execute a
Tag: intellij-idea
Creating Jar with Intellij 2016 – No main manifest attribute
I am getting no main manifest attribute while running the jar create by Intellij. I extracted the jar and observed that there was another manifest file, not the one I had specified while creating artifact. When I open manifest in IDE, it displays everything right but after creating jar I get a whole new manifest file. I tried every solution
How to use drag and drop in IntelliJ for java swing
I am using IntelliJ for java application development using swing . It is difficult to manage content using layout manager. So, is there is any facility to make drag and drop features like in visual studio for vb.net… Answer You can use IntelliJ’s GUI designer JetBrains website has some resources detailing how to use it: Designing GUI. Major Steps Creating
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=350m;
When I’mtrying to open Intellij IDE using command line in linux like this ./phpstorm.sh both android studio and PHPStorm I always got this message : OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0 and I was wondering if google find solution here but I was kinda lost here since I’m newbie in ubuntu 14.04. my
Unable to save settings : IntelliJ IDEA
I use IntelliJ IDEA 15 and have a problem with the auto-saving. For example I make a new configuration, e.g. Show the line number. When I close IntelliJ and reopen my IDE, it doesn’t save my configuration and shows me this message: Unable to save settings : Failed to save settings . Please restart IntelliJ IDEA Answer I get this
AssertEquals(String, String) ComparisonFailure when contents are identical
I’m facing the following scenario: I have an app that spits everything out to the STDOUT (simple company test) and I’m trying to JUnit this. My problem is, when I run the application, it returns me in the Console: (copy and pasted from IntelliJ) Print: And my test is: I’m getting: So, what I am doing wrong here ? Testing
Is there a way to run multiple Spring Boot applications with a single Running Configuration in IntelliJ IDEA?
I have multiple spring boot applications in a single IntelliJ project. And i want to have a single button to run all of them in some order. I know there is an option to Run Another configuration before launching the original one, so in that way the configurations can be chained. But when i use it, it runs that Another
Generate persistance mapping from database schema In IntelliJ15
i’m using IntelliJ 15.0.3,I connect oracle database 10g,then i want to create jpa entity. open Import Database Schema Dialog,and Choose a table named:CD_AREA_DICT When Click ok ,I get the error:Cannot generate Mapping xml. how can i fix this? Answer You have to select XML mapping file (usually orm.xml) in your project or simply add new one using [+] button. You
How to SSH tunnel and connect to a database using IntelliJ and JDBC?
I’m having issues connecting to a database hosted on a server using IntelliJ and JDBC. With the command line, the command: creates a tunnel successfully and the command: connects to the database fine and allows me to use it. How would this be translated correctly into the IntelliJ Data Sources and the SSH tunnel tools? At the moment, for the
gradle refresh failed: address already in use
Whenever I want to start a project in Android Studio, I have this error: Gradle ‘TestProject’ project refresh failed Error:Address already in use: Cannot bind Until 2 days ago it worked perfect. Log looks like this: Answer I finally found the problem, it was because of my company antivirus (F-Secure) after latest update.