Category : spring-boot

Spring Boot guide presents a demo example where to run the application ./mvnw spring-boot:run command inside the ‘complete’ folder/directory is used, in the case we are using the build framework maven. I tried this command from my windows power shell as well as command prompt but it displays the message "Spring was unexpected this time." ..

Read more

Executing a simple unit test over a Mongo Repository fails in Windows 10 due to java.io.IOException: Cannot run program "C:UsersmyuserAppDataLocalTempextract-88ea18ed-75d4-420f-be7f-623baeeb5c70extractmongod.exe": CreateProcess error=1260, This program is blocked by group policy. For more information, contact your system administrator This had worked until a few days ago, due to some Windows update probably. Example of a failing test ..

Read more

I am new to docker and trying something. Created a spring boot rest api with name employee services. It actually takes data from a mysql database emp_db. Which is working perfectly. Now I am trying to dockerize the same stuff. application properties spring.profiles.active=dev spring.datasource.url=jdbc:mysql://localhost:3306/emp_db spring.datasource.username=uname spring.datasource.password=pwd spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect I am running below command to pull ..

Read more