I guess that’s because of Cyrillic symbols in paths which IDE cannot digest correctly during build process, but I cannot just rename this folder in Windows 10. Tried to make a junction using MKLINK J, but it didn’t help.. I suppose the Cyrillic symbols in Windows username made the IDE throw but I couldn’t fix it. Reinstalling IDE didn’t bring
Tag: intellij-idea
Can run in Intellij, but jar file fails
Instead of running Quarkus, I’m running OptaPlanner through a Main class entry point in Kotlin. This works great within Intellij where I have a simple Run Configuration set up for it. However, when I create an Intellij artifact for a jar and try to run it, I get this: In solverConfig.xml I’m using <domainAccessType>REFLECTION</domainAccessType> because I cannot get Gizmo to
Prevent IntelliJ from marking errors for specific file extensions
IntelliJ has been indicating errors in a README.md file, how can I disable error checking for specific files or even specific file formats? Answer This is a bug in IntelliJ IDEA: IDEA-220938 False positive class or interface for Java in Markdown For the time being, you can disable error checking in code fences:
Codename One images not loading
The image(s) is in the “src” folder. Everything was working fine, until this morning I keep getting a black screen when I run the simulator with “java.lang.IllegalArgumentException: stream == null!” Answer You can’t let the exception bubble since the method is a callback and this is a checked exception. But add Log.e(e) into the catch block. NEVER do a blank
IntelliJ Run Configuration for Spring Boot apps?
I do not change run configuration unless reinstalling IntelliJ IDEA and I am not sure if I set the run config properly. Configuration Dialog Could you pls clarify me about the following issue based on the attached dialog: 1. SHould I use SPring Boot or Application Template of Run config for a Spring Boot app? Or is both of them
Why does it throw an exception when reading int array from file in java
I am trying to read an integer array from a file. the file format is as follows: 893 410 243 264 357 33 793 … … I will later split that array into 4 and calculate it’s sum using MPI, but i can’t seem to be able to read the file. I get this exception: So from what i understand,
IntelliJ IDEA java directory paths problem
I have a problem with paths. I’ve got a test project like this below and I want to create a JSON reader in Main so I need a test_json path. I don’t wanna use an absolute path D:…, but a path “from project” (I mean smth like main://resources/json_test/test_json.json). Is there any way to do that? enter image description here Answer
multi-pom in intellijIDEA. Error adding module to project: null
I wanted to make a multi-pom project in Intellij (2020.3.4). In one Maven project, I right-click ->New -> Module -> Maven. select parent to “my project”. However, even if parent is not specified, I get the error: Error adding module to project: null. (at the same time, it adds a regular folder with the module name and an empty pom.xml
IntelliJ – External library recognized but build fails
I’ve been recently trying to build a Java project which looks as follows: in ./someProject, I’m importing an interface and a class from ./libForSomeProject. I learned recently that in IntelliJ, one can make ./someProject aware of the ./libForSomeProject by adding it as an external library (project structure -> libraries etc.). Indeed, when I do this, the IDE seems to recognize
How to enable view full location of class (file) in info menu? IntelliJ IDEA
IntelliJ IDEA. It is info menu (when you stop cursor on class name). How to enable view full location of class (file)? Example: Oleg_Library.main.java.src.mypackage.Test Answer It’s not possible afaik. But you can create a feature request for it in https://youtrack.jetbrains.com/issues/IDEA