Skip to content

Tag: spring

Apache Wicket with Spring version dependencies

Is there any known version dependencies between Apache Wicket and Spring? Couldn’t find any from the Wicket or Wicket-Spring bridge documentation . For example can Wicket 7 be run with Spring 5, Wicket 9 with Spring 4 and so on. Answer Wicket 7.x uses Spring 4.1.x – https://github.com/apache/wicke…

Use H2 as test DB in JUnit5

I’m developing an app in Spring Boot. I use a PostreSQL DB for production, and I want my JUnit 5 tests to run on a H2 memory DB. Problem is, after some configuration, the tests still don’t seem to run on the in-memory db: I can access entities from the prod db (a saved entity doesn’t persist…

Is there such a query for mongodb?

I need to do a query on mongoDB due to I am developing in Java with Spring Boot and MongoDB. I know that this command is for arrays: This query let me to find if all fields of the arraylist “skillsOfCV” are in the arraylist called “skills” However, I am trying to pass an arraylist as &…

Spring Boot: Cannot load configuration class

I am currently creating my first Spring Boot application. Unfortunately, I get an error right at the beginning that I can’t understand. POM Only some rudimentary dependencies are defined here. Java 8 and Spring Boot 2.0.1 are to be used. App Here the application is defined as a SpringBoot application. T…