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

Advertisements 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.… Read More How to keep WAR files running in Tomcat while I'm using IntelliJ?

How to use New UI in Android Studio Flamingo

Advertisements I have seen new UI in Android Studio Giraffe | 2022.3.1 Beta 1 from official documents. Is it possible to use new UI in Android Studio Flamingo | 2022.2.1? >Solution : Go to Help | Find Action | Registry, start typing the key name for ide.experimental.ui, then enable it. Restart the IDE.

Having java versioning issue with gradle in Spring project in IntelliJ

Advertisements 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… 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

Advertisements 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… Read More Issue IDE warning if annotated member is not surrounded with a particular block