Skip to content

Tag: intellij-idea

Intellij strange compilation errors

i forced my computer to restart after freezing and i found out that my IDE IntelliJ Community Edition, I am seeing some strange compilation errors. According to the compiler, but my application is running perfectly how can i fix it Answer you can fix this problem by going to File -> invalidate caches ->…

Spring Batch Wildcard ItemWriter

I have one dummy question. To explain my use-case, I have different type of DAOs; say Users, Beers… etc. I wanted to use one generic ItemWriter for all of them. I created a CommonComponentConfiguration where I defined; The writer class goes like this; So far everything is okay. Where things gets complic…

IntelliJ Exe build not working as I expected

I am working on a JavaFX Application, which is a conferencing application. The application is running fine with IDEA. But my target is to build an exe from my application which would run standalone. I have configured an Artifact to build exe where I set the values for Application Class Title Vendor Version Na…

Connecting multiple databases

I would like to connect my application with 2 different databases. This is what I have tried: And so in application.properties I have added: But Intellij tells me: Cannot resolve configuration property ‘spring.wald.datasource.url’ What am I doing wrong? Answer Instead of returning DataSource, you …