Most voted "intellij-idea" questions
Intellij IDEA is a popular IDE created by Jetbrains. It was originally created for Java, but currently supports several other languages such as: Javascript, Groovy, HTML, CSS, RSS, R, Haskell, PHP, Ruby, Python, Scala, Clojure.
Learn more…62 questions
Sort by count of
-
16
votes9
answers17662
viewsError: R cannot be resolved
I am creating an Android project and am facing the following error in my IDE. package br.com.app; import android.R; public class MinhaApp extends Activity { @Override public void onCreate (Bundle…
-
8
votes1
answer606
viewsError Making Jar Build
I’m trying to do the build of my first JAR using the Intellij and Maven to manage dependencies. I created the artifact and executed build, but when I run the program I get the following exception:…
-
6
votes3
answers3176
viewsIs there a shortcut to select and modify similar snippets?
I would like to know a shortcut of the Intellij IDEA similar to CTRL+D Sublime, which selects all similar objects and is possible to modify them together.
-
6
votes3
answers2884
viewsREGEX - Capitalized words in the middle of the sentence
Is there any regex/replace to uppercase words in the middle of the sentence to lowercase? (Yes, I could pass everything to Lower) but there is a catch, the rule should be ignored if the word is…
-
4
votes1
answer128
viewsWhat is the best way to follow the software flow?
I have a big project, how do I follow the flow (step by step)? I have several classes and have no idea which methods are called, which classes are etc. I put a breakpoint in a point that I know goes…
-
4
votes1
answer506
viewsI cannot insert into Mongodb using Java
I’m new in Mongo, I’m trying to make an Insert in the bank but it’s a problem when inserting import com.mongodb.BasicDBObject; import com.mongodb.DB; import com.mongodb.DBCollection; import…
-
4
votes1
answer229
viewsPhpstorm , How to change the user name?
Every time we create a new file(file) it gives us a commented header with our username. How do I change the User name? I searched everywhere in the tool and could not find! <?php /** * Created by…
-
4
votes1
answer265
viewsEncoding Eclipse -> Intellij
I imported a project into Intellij that was created in the eclipse. The project is pretty big. I’m having a problem with encoding, in the eclipse is as Default o Cp1252 And Intellij is into UTF-8…
-
3
votes1
answer502
viewsHow to generate an APK without DEBUG in Intellij IDEA?
I just migrated my projects from Eclipse to Intellij IDEA (is the same as Androidstudio uses, but with some small differences). Yet every time I click Build > Build Apk it generates an APK with…
-
3
votes1
answer285
viewsView all Intellij projects created
I don’t know much about Intellij’s environment. But what I really wanted to know is how can I see all the projects I’ve created, like in the Eclipse environment. Below, only one project appears,…
intellij-ideaasked 6 years, 5 months ago sYsTeM 1,136 -
2
votes1
answer50
viewsIntellij 14 and Scala Plugin. Error when locating standard methods
I upgraded my Intellij IDEA to version 14 and now it is no longer recognizing some methods within my Scala program. The IDE can’t even find the simplest of methods: println("Hello world") What to…
-
2
votes0
answers40
viewsWhat’s the Difference in Grails between run-app and run. Intellij Application
I’ve been working for 1 year with Grails and Intellij Community 14, and I’ve noticed some different behaviors between running the project through the command line and using IDEA’s Run…
-
2
votes2
answers1011
viewsProblem running project - Special characters
Good afternoon, I migrated my project to Intellij IDEA and when executing a code that should print an accentuated string, I got the return: "m? all" (method). Classes display the accent correctly…
-
2
votes0
answers105
viewsApplication runs on eclipse but does not run on Intelij
I am migrating from eclipse to Intelij and my application runs normal in eclipse, and when I deploy on server, but it does not run on intelij. No error message, log only. package br.com.ramires.pac;…
-
2
votes1
answer352
viewsHow to separate the name of packages in the Intellij IDEA directory tree?
I am using Intellij IDEA to program in Java and want to create several packages inside each other, where each of them will contain classes and other file types. The problem is that when creating…
-
1
votes0
answers83
viewsSet attribute as foreign key ebean intellij
I have the following class: @Entity public class exemplo extends Model { @Id private Integer id_nome; private String Designacao_PT; private String Nota_PT; public exemplo(Integer id_nome,String…
-
1
votes1
answer182
viewsApplication error in Heroku
I made an application using Intellij using database and everything is working fine, but as soon as I gave the push to Heroku I got a message: Application Error. An error occurred in the application…
-
1
votes1
answer68
viewsError when running Scalatra test on Intellij
I’m trying to run the following test of scalatra within the intellij: class Test extends ScalatraFlatSpec with Matchers { addServlet(classOf[MainServlet], "/*") "Home Page" should "show hello" in {…
-
1
votes0
answers204
viewsjava.lang.Noclassdeffounderror: gnu/io/Serialporteventlistener communication with Rduíno
I’m trying to make a java communication with an Afghani but I’m having a problem when I invoke a Class that implements the SerialPortEventListener on my controller. Controllers This Java class is…
-
1
votes0
answers264
viewsIntellij JSF - Page opens in white
What I did I created a project Maven and added the module of JSF, however, even with the library downloaded. What’s going on When I run my project using the Tomcat, the page olamundo.xhtml comes…
-
1
votes1
answer2683
viewsHow to Access Real-Time Android Sqlite Data (DEBUG)
How can I access the data contained in the local database of the Android device, ensuring that the information is up to date? My IDE is Intellij IDEA and I use the connection feature with the…
-
1
votes0
answers21
viewsIs it possible to export a jar and documentation together?
I am using the Intellj IDE and exporting a project to a file jar using Artifacts. However, when I use this jar in other projects the methods javadoc style comments do not appear. Is there any way to…
intellij-ideaasked 8 years, 2 months ago Rodrigo Santiago 1,822 -
1
votes0
answers143
viewsError while trying to compile aspect in Intellij
This is my first question on this site, I will try to be succinct. I’m working with aspect-oriented programming, already working using Eclipse. However, while trying to do the same using the…
-
1
votes2
answers471
viewsSpring boot: Unable to find or load main class
It’s been a while since I’ve used Spring. I changed the name of the controller package and the application doesn’t want to run anymore. On the second underscored red image was costume.costumes the…
-
1
votes1
answer154
viewsError execution log4j Selenium
I am new to automated testing and am creating a test script in Selenium and when I run I am getting this error response: log4j:WARN No appenders could be found for logger…
-
1
votes0
answers28
viewsProblem to import Google libraries in Intelij IDEA
I am trying to use the Google Drive API for JAVA but I am facing problems when importing. The code is working normally, but my import is giving error. Does anyone know what might be happening.…
-
1
votes1
answer505
viewsHow to create a . JAR for test automation?
Hello, I am creating automated scripts using Selenium Webdriver and I am running within the Intellij IDE. I would like to know how it is possible to create a . JAR file from my scripts, so it would…
-
1
votes0
answers37
viewsAPI GET Authentication Method
good night, I’m having trouble getting a GET Method with Authentication to work I have read the Documentation and installed the SDK in the Intellij IDEA of an Exchange API and am having difficulty…
-
1
votes0
answers29
viewsSwitch web application port with Kotlin in Intelij
I’m using Kotlin on Intelij along with Vertex and Jboss. I want to change the default port of my application. I have tried to put in the VM Options of the Inteli run Configurations a different port,…
-
0
votes2
answers787
viewsReceive id from an autocomplete option
I have the following autocomplete defined in HTML HTML <label class="input"> <input type="text" list="list" id="entidade" placeholder="Cliente" onblur="dadosCliente ( )"> <datalist…
-
0
votes1
answer725
viewsDelete Generated Table and recreate again with other data
I have this table that will be generated with values of checkboxes that I select. HTML: <table class="table table-hover" id="table"> <thead> <tr></tr> </thead>…
-
0
votes1
answer663
viewsError when compiling Android Studio project with Gradle
I’m having a problem compiling my Gradle project. I have the following answer from the compiler: Error:Gradle: Execution failed for task ':mobile:processBroadcastHomologDebugResources'. >…
-
0
votes1
answer2454
viewsIntellij IDE Can’t find JDK
It already enters a standard java directory in /usr/lib/jvm/ but cannot find jdk in any folder within this directory…
-
0
votes1
answer48
viewsHow to place the Run/Debug/etc. buttons on the left side of the bar?
How can I leave this Run/Debug/etc. Toolbar on the left, as it appears in Android Studio?
-
0
votes1
answer271
viewsImage upload and update
I have a javaEE application where one of the requirements is to upload an image used for the user profile. Everything you’re accomplishing so far: 1. Selects the image to be edited (Cut, Rotate,…
-
0
votes1
answer89
viewsFailed to upgrade project classes and resources using Intellij and Tomcat
I am using Intellij to develop a web project, the application server used is Tomcat. I configured shortcut keys to update the features and just reload the page for the modifications in the project…
web-application tomcat intellij-idea resourcesasked 7 years, 9 months ago Cesar Roberto Martins 163 -
0
votes1
answer196
viewsCreating Project Grails at Intellij
I’m having trouble creating a Grails project at Intellij. I tried with multiple versions, 2.4.4, 2.5.0, 2.5.6 and all the same error occurs while sending the run-app command: |Running Grails…
-
0
votes1
answer51
viewsHow to get the amount of garbage already generated at a time from Java code?
So people, I’d like to know if you have any method or even way to get the amount of Garbage generated at the current moment of the code. If you do not know but if you know any DOC that I can study…
-
0
votes1
answer515
viewsIntellij does not open APK after installation
In my application, after installing , Intellij does not "command" open the apk. My manifest already configured the main activity <application ... <activity android:name=".Activitys.Main"…
-
0
votes2
answers484
viewsIs there a way to create an IDE based on Intellij?
With some searches on the internet I discovered that Ides as Android Studio and Phpstorm are Ides based on Intellij, each with a purpose. How to create an IDE based on it? The idea is to create an…
-
0
votes1
answer662
viewsImport the postgres library into the intellij idea IDE
I started using IDE intellij idea a short time ago to develop in java, previously used net Beans and when I was going to use the database for my application it was simple to import the library from…
-
0
votes1
answer2990
viewsHow to import and configure a Maven project with Tomcat server in Intellij?
I have a simple project and would like to run this project in Intellij IDE, but I believe that unlike Eclipse, the IDE requires other settings in parallel to import. I would like to know how this…
-
0
votes1
answer65
viewsHow to compare my edits to the Github repository on Intellij
In the PHP Storm I have a window version control where appear the modifications I made, selecting, I have an option show diff, so I can review all the changes between what’s in the repository and…
-
0
votes2
answers324
viewsColor-free code when filename starts with upper-case
I am using Intellij IDEA to develop using Flutter but when I name a new class with its name starting in uppercase the typed code remains the same color without highlighting variables, Keywords and…
-
0
votes1
answer233
viewsDelete Intellij file permanently
I created a file File of the kind Text when it should be a file .py. After trying to rename the file to .py or delete it the IDE cannot identify the extension by not identifying my code. How do I…
-
0
votes0
answers80
viewsRun a main method in a web project
I’m using the Intellij and I’m with a web project and with the Wildfly already configured in the options Run. I created a class with the main method for testing in this same project and I want to…
-
0
votes2
answers210
viewsCreate execution looping until an element is visible
I need to make a looping in which it stops running only when a specific element becomes visible. It must click the filter button and check if the element is visible, if the return is false, it…
-
0
votes1
answer104
viewsStructure Package Intellij
Good afternoon, you guys. I’m new to Intellij, I’m still getting used to it, however, I’d like to know if there’s any way to change this file display structure in the package. Follows the structure:…
-
0
votes1
answer558
viewsNothing happens when running Java project in Intellij
I’m trying to run a project in Java but going to "Run" -> "Run" or Alt+Shift+F10 and nothing happens. The terminal doesn’t show anything, even though it has System.out on main. Only my colleagues…
-
0
votes1
answer73
viewsError while downloading intellij
I’m trying to download intellij but every time I set up and start a new project of this error: Could not open init Generic class cache for initialization script 'C: Users Allan Appdata Local Temp…