This week's book giveaway is in the iOS forum.
We're giving away four copies of Classic Computer Science Problems in Swift and have David Kopec on-line!
See this thread for details.
Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SpringBoot 2.0.1 vs SpringBoot 2.0.0 (Kotlin)  RSS feed

 
Saloon Keeper
Posts: 1419
43
Android Chrome IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I first created this code and ran it against SpringBoot 2.0.0 it worked correctly.
However with SpringBoot 2.0.1 the code breaks on The error message that I get is "block()/blockFirst()/blockLast() are blocking, which is not supported in thread/operation"

This issue is explained here  https://stackoverflow.com/questions/49746372/how-to-execute-blocking-calls-within-a-spring-webflux-reactor-netty-web-applic
But the solution provided does not help me too much at this point as I would like to get the string value for the posted form element "firstName" and I'm not using the WebClient as far as I know.

Do you have any thoughts on how I can unwrap the form element so that I can get a String value and not a Mono<List<String>> value?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!