Category "spring"

Spring Jars to download

I am using below link for downloading spring jars. http://repo.spring.io/release/org/springframework/spring/4.1.4.RELEASE/ I am confused with so many links. Wh

No Dialect mapping for JDBC type: 1111

I'm working on a Spring JPA Application, using MySQL as database. I ensured that all spring-jpa libraries, hibernate and mysql-connector-java is loaded. I'm ru

Spring MVC request and response flow explanation

I can't find correct client request flow in below syntax.Could someone please clarify what is happening here? Client(1) --> Dispatcher Servlet(2) --> Han

No suitable default RequestUpgradeStrategy found

I'm trying to use spring websocket for my application but when running the application on jetty i'm having an IllegalStateException. I found similar questions (

how to limit request per second in apache benchmark tools

I'm trying to stress test my Spring Boot application, but when I run the following command, what ab is doing is that trying to give out a result the the maximum

how to limit request per second in apache benchmark tools

I'm trying to stress test my Spring Boot application, but when I run the following command, what ab is doing is that trying to give out a result the the maximum

how to limit request per second in apache benchmark tools

I'm trying to stress test my Spring Boot application, but when I run the following command, what ab is doing is that trying to give out a result the the maximum

Could not exec java with Spring+Maven exit code 1

I am new to Spring/Maven, and am following this tutorial: Serving Web Content with Spring MVC. Everytime I run mvn spring-boot:run, I get this error: Fail

intellij incorrectly saying no beans of type found for autowired repository

I have created a simple unit test but IntelliJ is incorrectly highlighting it red. marking it as an error No beans? As you can see below it passes the test?

Mono class in Java: what is, and when to use?

I have this following code: import org.springframework.http.MediaType; import org.springframework.stereotype.Component; import org.springframework.web.reactive

How to resolve the Exception from WebTestClient?

How can I achieve the following with WebTestClient? @Autowired private MockMvc mvc; mvc.perform(req) .andExpect(status) .andReturn().getResolve

Why I get 404 error in spring boot post request using Thymeleaf

I user spring boot to create an integral calculator. I got a strange 404 error while I try to handle post request. Here is my controller class that should handl

Exception in thread "main" java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0 when i am using Google Map jar

I am working on Geo Fencing So I am using Google Dependencies "android-maps-utils" and "geopackage-android-map" I installed these jar in my system and using t

Using Ribbon load balancing in spring cloud and autowiring the annotated interface

We are new to spring-cloud and struck with Ribbon Client dependencies. The code is working fine with FeignClient but using RibbonClient annotations resulting in

Use WebSphere MQ as the messaging layer for Springboot applications

I need to use WebSphere MQ as the messaging layer for my Springboot apps. Using RabbitMQ, Kafka or activeMQ is straight forward with Springboot and there are to

Using @TestConfiguration doesn't work as Context for @SpringBootTest

I've written an integration test that uses @SpringBootTest annotation. Since my app has many beans, I want to load in the integration test only the beans that a

Failed to convert from type [java.lang.Object[]] to type

I have spring web app (JPA/Hibernate + MySQL). I have two DAO classes. CustomerDAO @Entity @Table(name = "customers") public class Customer { @Id @Column

Spring cache and Spring data redis

Spring cache + Spring redis: Spring provides a caching abstraction package spring-boot-starter-cache which basically provides method level annotations to cache

@DataMongoTest is creating a null MongoTemplate

I have been trying to follow the instructions in the link below to try to add an automatically configured Embedded MongoDB Instance for Cucumber Integration tes

Caused by: com.jcraft.jsch.JSchException: connection is closed by foreign host while using DefaultSftpSessionFactory and SftpInboundFileSynchronizer

I am using spring batch remote partitioning to read input files and process them. To make input files available on all servers, I have added step listener which