Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

SpringBoot 2.0.1 vs SpringBoot 2.0.0 (Kotlin)

 
Bartender
Posts: 1868
81
Android IntelliJ IDE MySQL Database Chrome Java
  • 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?
 
Life just hasn't been the same since the volcano erupted and now the air is full of tiny ads.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic