Skip to content

Tag: spring-boot

How to join several validation annotations

I have following annotation to validate password: But spring validation does not recognize this rules. I used this annotation as: How can I get it without defining ConstraintValidator instance? Answer If you want to use ConstraintValidator, you can do it like this: create Password annotation : then create the…

Vaadin cannot import CSS file

So I’m new to Vaadin and all that stuff and I’m currently trying to integrate a CSS-File to my site. When I try to do this though, I get an error after trying to run the gradle-Project: So obviously the Path to the CSS-File is wrong, but I don’t know where to “start” the path. So…

Spring Boot Application Shutting Down as soon as it’s started

I used Spring Initializr to initialize a new project. I further added MySQL Driver, Spring Data JPA, Spring Boot Actuator, and Spring Web as project dependencies. Exporting the .zip file, the only thing I did is, changed the application.properties file. When I run the application, it starts and stops immediat…