Trying to test my web tier (spring boot, spring mvc) with junit5 and mockito. All other tests on http methods (get, put, ...) are working fine but the update. F
I am getting error when i uploading 20 MB Size of csv file in Spring MVC by using CommonsMultipartResolver library. I have done following setting in Config File
So I am working on a spring-mvc project, which suddenly started giving this issue when installed on Windows machines only. It's a thick client app. When trying
I have Spring MVC application with JSP and the server is Tomcat. when I run this web application. Tomcat log as follows. 24-Feb-2022 16:13:16.054 SEVERE [http-n
In my last project, there was a requirement for throwing exceptions when the request body contains extra parameters. If the request will be like { "test":"bo
I am working on spring-boot project Code is working fine until I add javascript , bootstrap and CSS path in list-todos.jsp but after I add them and hit URL "htt
I use Spring MVC (no Spring Boot) with HATEOAS in order to get HAL-FORMS with Affordance response like this: "_links": { "index": { "hre
I created an endpoint in spring boot to download logs of the application: @Service public class LogService { public byte[] obterLog() { try {
I am implementing one api and I have the following request bodies for 2 different endpoints: endpoint1: { "requests": [ { "id": "123" } ] }
In my controller I currently added the following annotation @CrossOrigin: @RestController @RequestMapping(value = "/dev/test") @CrossOrigin publ
I want to write an integration test for a delete method in my controller, but no matter how many times I tried rewriting it, I am still getting different errors
I am trying to set null values to database of empty values from JSON payload. This problem caused beacause I have unique constraints on social entity fields. I
I am working on Spring MVC project. I use Spring Security for secure the url of my project. While i click on login button login succesfully bu
CarMake.java @Getter @Setter @EqualsAndHashCode @NoArgsConstructor @Entity public class CarMake { @SequenceGenerator( name = "car_make_sequence"
My application's front-end was build long back on ExtJS version 4.2.2 ,so Sencha Cmd tool was not used at that time , I am new to ExtJS and wants to know what a
I am using Spring boot 2.4.4, JDK 1.8, and created ScriptEngine as shown. Page loaded perfectly for the first time but the second time it throws the exception
**Controller** package com.example.curd.curdtesting.controller; import com.example.curd.curdtesting.entity.Book; import com.example.curd.curdtesting.service.Bo
While upgrading spring jars from 4.3.29 version to 5.3.19 version i am getting this error ClaasNotFoundException org.springframework.web.servlet.ViewRendererSer
package ro.contabilitateexpert.AccountExpert.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotati
I was using spring 2.1.3.RELEASE before. Used to handle all un-supported HTTP methods and endpoints with an custom error like below and it worked; /** * Handle