How to keep WAR files running in Tomcat while I'm using IntelliJ?

There are two WAR files that rarely change and it should be running in my machine. The tomcat path is /Users/myuser/Downloads/apache-tomcat-9.0.53 and the tomcat server in IntelliJ configuration use it also. If I deploy the WARs in webapps directory, run another Java project that uses Tomcat in IntelliJ then I can’t access these WARs. It… Read More How to keep WAR files running in Tomcat while I'm using IntelliJ?

Having java versioning issue with gradle in Spring project in IntelliJ

I created a project from start.spring.io. No matter whether I choose Java 11 or Java 17 there, I get this error when I open this spring project in IntelliJ. Error: Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.0.1. Required by: project : > org.springframework.boot:org.springframework.boot.gradle.plugin:3.0.1 > No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.0.1 was found. Incompatible because this component declares an API… Read More Having java versioning issue with gradle in Spring project in IntelliJ

Issue IDE warning if annotated member is not surrounded with a particular block

I have a data structure which has members that are not thread safe and the caller needs to lock the resource for reading and writing as appropriate. Here’s a minimal code sample: class ExampleResource : LockableProjectItem { override val readWriteLock: ReadWriteLock = ReentrantReadWriteLock() @RequiresReadLock val nonThreadSafeMember: String = "" } interface LockableProjectItem { val readWriteLock:… Read More Issue IDE warning if annotated member is not surrounded with a particular block