I have simple spring application. Spring version is 3.2.16.RELEASE. Project structure is: . Application class looks like: When I try to run it I have: I have trying: and other… Resources folder is marked as resource root… Intellij project structure is ok. Any ideas what can be wrong? Did I missed something? Thanks in advice! Answer Try to add absolute
Tag: intellij-idea
Gradle 5 and IntelliJ 2018.3. Unrecognized option: –add-opens or java.base.java.lang=ALL-UNNAMED
I have a complex set of projects built by Gradle 4.10.3. I can build them from the command line, but I can also import them to IntelliJ 2018.3 Ultimate without major issues. When I upgrade my Gradle to 5.1.1, the projects are still building fine from the console, however I can no longer import (or refresh) the project in IntelliJ
How to avoid “Sharing is only supported for boot loader classes because bootstrap classpath has been appended” warning during debug with Java 11?
Recently I switched to the Java 11 and start to debug my app and saw this message: OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended Found only this commit and ticket, but it doesn’t tell me much. Do I need to worry about it? Answer I had this issue
Maven IntelliJ error: Unable to import maven project. See logs for details
I am working on Maven based project on IntelliJ idea 2016.3.4, and on adding dependencies, I receive the following error. The idea.log file contains the following logs repeatedly: I tried creating new project and solution mentioned here. But I still get the same error. Any way to solve this problem? Answer try to use a new version of maven, i
Javadoc error: “option –boot-class-path not allowed with target 11”
I have written a fully functional Android app in Intellij, using JDK 11 and Android SDK 28. But I am unable to run JavaDoc on my code, and I can’t figure out why or how to fix it! At first, I was getting many errors such as “android.whatever package not found”. Simple enough to fix, after googling I found I
Why is Guava’s EventBus marked unstable in IntelliJ 2018.2?
A new inspection was added in IntelliJ 2018.2 which should warn from unstable APIs: https://youtrack.jetbrains.com/issue/IDEA-159541. This warning shows up for the Guava’s EventBus. Why is this an unstable API? Answer Because the EventBus class is annotated as @Beta. You’d have to ask the Guava project maintainers why a class that exists for 16 versions of Guava is still Beta, but
java 10 gradle project : automatic module not found
I created a java 10 project with intelliJ, using gradle. I copied some stuff into it (some “AppFx” class using the library guava and javaFx, and a personal build.gradle file). I also added a module-info.java file in src/main/java with this content: in which grava is an automatic module. here is the relevant part of build.gradle: intelliJ can compile the project
Issue with CACERTS IntelliJ + Gradle
I currently am running some REST calls behind a proxy, so I need to follow some strict processes in order for the calls to go through. Previously I was building in Eclipse for a POC, but now that I know it works, I am trying to transfer it over to IntelliJ (Personal favorite IDEA) along with Gradle for the build
How to display Javadoc with parameter auto-prompt information in Intellij IDEA?
In Eclipse, when writing code, it prompts for all possible combinations and Javadocs associated with each combination. However, in Intellij, JavaDocs can only be displayed after all parameters have been entered, and then performing a Control-Q on the method. I can’t make Javadocs appear as input like Eclipse. This is a comparison of Eclipse and Intellij Answer New feature, 2018.2
java 9 unnamed module reads package [X] from both … while debugging (with IntelliJ)
In my project I have a package that uses several 3rd party libraries. Let’s have a look at the dependency tree: Compiling and running works fine so far. But when I what to start debugging with IntelliJ, I get a list of over 100 errors like: This seems to be an error due to the new Java 9 module restrictions.