This week's giveaway is in the Beginning Java forum.
We're giving away four copies of Bad Programming Practices 101 (e-book) and have Karl Beecher on-line!
See this thread for details.
Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SpringBoot 2.0.1 vs SpringBoot 2.0.0 (Kotlin)  RSS feed

 
Saloon Keeper
Posts: 1691
68
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?
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!