Skip to content
Advertisement

Tag: intellij-idea

Spring @PropertySource cannot be opened because it does not exist

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

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

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

Advertisement