Skip to content

Tag: spring-boot

Jax-rs annotation Path is not work in java spring boot?

I have spring boot application with starter version 2.1.16, and spring-boot-starter-web dependency. So, i want use javax.ws.rs-api library, and add dependency: So when i create controller, and add @Path, @Get – i don’t get answer from the server (404 not found). How makes it work? Answer Add the f…

Reasons why a JAR on classpath not loaded

I have a SpringBoot application that is run with the command java -classpath <longlist of JARs> com.example.MyApp. I have the path to a JAR – in this case liquibase-core-4.4.0.jar – specified on the classpath. However, on startup the app complains about missing class definitions. Attaching a…