Skip to content

Tag: spring-boot

Using Spring Boot without Maven

I am trying to write a simple Java program that displays Hello World as a microservice. I am using Spring Boot, but due to security reasons at my company, I am unable to use Maven. Therefore, I have no option but to download the jar files and add them to my project. I have done so, and made sure I

How to use Criteria in JPA in Spring boot?

I am using JPA and spring boot. I am new to JPA. I want to retrieve an object by passing the value of the function. But in example, it is done through hibernate config. I have not config sessionFactory bean in my classpath. I want to use JPA to retrieve the object. Here in the example, it is: But I

SpringBoot 2.2.1 groovyMarkupConfigurer exception

I have a SpringBoot application that was developed with JDK8 and was now ported to JDK11. I get the following exception at startup: Here is my pom.xml: I have tried SpringWebStarter from 2.1.8 up to 2.2.1, I am always getting the same error. I cannot use JDK8 again, since the computer has been updated from Wi…