Questions tagged [spring5]

94 questions
1
vote
3 answers

Getting Error while trying to up upgrade spring version from 5.1 to 5.2

Facing this issue while trying to upgrade spring from 5.1 to 5.2 enter image description here enter image description here @Configuration public class WebMvcConfiguration extends WebMvcConfigurationSupport { @Override public…
1
vote
0 answers

How to use AbstractMessageConverter using RestTemplate

1.Summarize the problem I am trying to read comma separated values(CSV formatted data, not csv file) into responseEntity(ResponseEntity>> responseEntity) using RestTemplate. but, I get error…
1
vote
0 answers

Component index vs classpath scanning in Spring 5

I was trying to upgrade myself to learn Spring5, and I read that it supports component index as an alternative to classpath scanning. I understand that the main benefit for implementing component index would be with the reduced startup time for…
Aaditya Sharma
  • 3,330
  • 3
  • 24
  • 36
1
vote
1 answer

Spring 5 with hibernate 3

I am little bit confused what hibernate version shall i use. We have an application which currently using Spring 3 and Hibernate 3. We have to migrate it to Spring 5.2.6, but i am not sure if we can keep the hibernate version same or shall we…
r-developer
  • 517
  • 1
  • 8
  • 21
1
vote
1 answer

Reactor framework confusion with Assembly time and subscription time (when to call subscribe)

I'm actually confused on assembly time and subscription time. I know mono's are lazy and does not get executed until its subscribed. Below is a method. public Mono getUserbaseDetailsForEntityId(String id) { …
Pramod Shashidhara
  • 939
  • 2
  • 11
  • 17
1
vote
1 answer

Exclude URL paths from vaadin router in vaadin flow 14

I'm trying to include a 'third-party' url in a vaadin 14 + spring boot application, namely the redirect url of spring-security for a single-sign on '/oauth2/authorization/github'. However the vaadin servlet seems to intercept this url and shows an…
RookieGuy
  • 517
  • 7
  • 18
1
vote
1 answer

Spring WebClient : No suitable writer found for part: param1

I am trying to upload a file with some other text attributes using Spring 5 Webclient. However I am getting an error for the same: Below mentioned is the code: MultipartBodyBuilder bodyBuilder = new MultipartBodyBuilder(); …
Akash
  • 387
  • 1
  • 5
  • 19
1
vote
1 answer

How to Package a project with Spring5 WebClient into a JAR file without Spring Boot?

I'm looking to package my project into a JAR without spring boot or how to access the classes in that JAR when imported?
Reeves
  • 33
  • 2
  • 5
1
vote
1 answer

In Spring Security 5.1.6, logout-success-url always redirects to HTTP instead of HTTPS

I have configured Spring security 5.1.6 in Wildfly16 application server. For logout, i have done configuration as below; When i'm using HTTP url, then no issues. But when i'm using HTTPS URL , after LOGOUT link is clicked it is redirecting to…
Subbu
  • 41
  • 5
1
vote
0 answers

How to convert response which is a Mono to Mono
I have a controller method, that return an XML format. How do I convert it to Mono. Example: Mono response = 1977 Cessna
0
votes
0 answers

"UnsupportedOperationException: Collision adding composited set with no SetMutator set" related to Apache collection4's CompositeMap

UnsupportedOperationException: Collision adding composited set with no SetMutator set is thrown when Spring reads the below configuration. According to the documentation of API CompositeMap, it looks like setMutator is to be set somewhere, but not…
J.E.Y
  • 1,173
  • 2
  • 15
  • 37
0
votes
0 answers

JSON parse error: Cannot deserialize value of type `FType` from String \"E\": not one of the values accepted for Enum class

I have upgraded my ant build project from Java 6 to Java 8, Weblogic 10 to weblogic 12c and from spring 3 to Spring 5. I have upgraded my jackson-all-1.9.10.jar to Jackson jars 2.14.1. I have deployed the code in weblogic 12c. When i do soap…
Mounika
  • 1
  • 2
0
votes
0 answers

Failed to read schema document 'xsd', because 'zip' access is not allowed due to restriction set by the accessExternalSchema property

I have upgraded my ant build project from Java 6 to Java 8, Weblogic 10 to weblogic 12c and from spring 3 to Spring 5. When i try to build my project it gives me the error, "**[xjc] [ERROR] schema_reference: Failed to read schema document…
Mounika
  • 1
  • 2
0
votes
0 answers

Where can I get a complete pom file for a Spring 5 web application?

I am trying to move a Spring 4 app to Spring 5. Where can I get a clear pom.xml for a basic Spring 5 web app, with ALL the dependencies in it, with versions?
Greg Dougherty
  • 3,281
  • 8
  • 35
  • 58
0
votes
0 answers

Common place to set custom validators in Spring 5

We are upgrading our Spring version from 4 to 5. Validations in the Spring 4 application were implemented by overriding MultiActionController's bind() method and setting the list of custom validators based on the bean to validate and the method that…
batty
  • 31
  • 8