Rodrigo Silva
01/20/2020, 5:25 PMCzar
01/22/2020, 7:20 AMclass PersonForm(
@get:NotNull @get:Size(max=64)
private val name: String,
@get:Min(0)
private val age: Int
)
Does this mean that we can finally use non-nullable properties in validated pojos and still get a nice validation error instead of kotlin's null passed into non-nullable property?Dave Jensen
01/22/2020, 7:04 PMmainClassName
in the springBoot
section of the build.gradle.kts? (The rest of the details in the thread)Slackbot
01/22/2020, 8:49 PMLuca Clemente Gonzalez
01/27/2020, 3:08 PMcorneil
01/28/2020, 11:05 AMval scheduledTriggerExecutors: List<ScheduledTriggerExecutor>
and I don't know how the DI is going to resolve that? You will need to remove @Component from TriggerScheduler and have an @Bean method in a @Configuration class to create this. Then it should behave as expectedtseisel
02/05/2020, 9:55 AMWebClient
to perform requests ? Mocking WebClient
does not seem to be a viable solution.
I've seen something like WebClientTest
on the web, but I'm unable to find the correct dependency or documentation about it.Dave Jensen
02/06/2020, 4:02 AMDariusz Kuc
02/11/2020, 12:23 AMstart
and stop
goals https://docs.spring.io/spring-boot/docs/current/maven-plugin/usage.html).
Based on https://github.com/spring-projects/spring-boot/issues/3982 and https://github.com/gradle/gradle/issues/1367 looks like there is no out of the box solution for that. Guess this could be done through the custom tasks that rely on Spring Actutator (as suggested here -> https://stackoverflow.com/questions/31407323/running-integration-tests-for-a-spring-boot-rest-service-using-gradle). Any suggestions?dr.dreigh
02/11/2020, 6:31 PMRobert
02/12/2020, 12:33 PMsuspend
functions in Tests? runBlockingTest {..}
from kotlinx-coroutines-test or is there some spring equivalent?Robert
02/12/2020, 2:29 PMRobert
02/14/2020, 5:15 PMMono
be sufficient with a single map operation on the whole string?
- Under the assumption it’s not a ClassPathResource
but some expensive DiskIO:
Would it make sense to Tokenize the File to a Flux/Flow<String>
scottiedog45
02/17/2020, 5:44 PMSourabh Rawat
02/19/2020, 8:41 AMbootJar
and shadowJar
. Can I use shadowJar
for Spring boot applications?gbaldeck
02/21/2020, 9:45 PMAmardeep
02/22/2020, 1:14 AMnfrankel
02/23/2020, 8:46 AMCzar
02/23/2020, 10:55 AMDescription:
A component required a bean of type 'java.util.List' that could not be found.
Action:
Consider defining a bean of type 'java.util.List' in your configuration.
Why is that? Doesn't collection autowiring work with Spring Fu?Sourabh Rawat
02/24/2020, 3:43 PMSwkng
02/24/2020, 9:39 PM@JsonDeserializer
and @JsonSerializer
. By now all that have discovered is that Kotlin uses jackson-module-kotlin
without any success though. Thanks for reading and helping this fellow software engineer.hooliooo
02/27/2020, 1:18 PMaksh1618
02/27/2020, 6:30 PM@SpringBootApplication
class DemoApplication
fun main(args: Array<String>) {
runApplication<DemoApplication>(*args) {
beans {
bean {
router {
GET("hi") { ok().body("hi") }
}
}
}
}
}
But I get 404 on localhost:8080/hi
, am I missing something?soudmaijer
02/28/2020, 3:35 PMXQDD
03/06/2020, 5:03 AMRobert
03/06/2020, 12:48 PM- Kotlin + Depencendices: "1.3.61" - coroutines 1.3.+
- Spring Boot 2.2.4.RELEASE
2020-03-06 12:29:59.485 ERROR 28 --- [boundedElastic-5] reactor.core.scheduler.Schedulers : Scheduler worker in group main failed with an uncaught exception
java.lang.NoClassDefFoundError: kotlin/coroutines/AbstractCoroutineContextKey
at java.lang.ClassLoader.defineClass1(Native Method)
lucasqueiroz
03/11/2020, 8:14 PMKyooSik Lee
03/18/2020, 2:45 AMServerResponse
?
I’m creating excel file by poi
and I can’t find way to put this file inside ServerResponseCzar
03/20/2020, 1:59 PMJP
03/29/2020, 3:34 AMjpa
plugin is installed, but when I checked build.gradle.kts
the jpa
plugin was of course already installed, since I was following the steps in the tutorial.
plugins {
id("org.springframework.boot") version "2.2.6.RELEASE"
id("io.spring.dependency-management") version "1.0.9.RELEASE"
kotlin("jvm") version "1.3.71"
kotlin("plugin.spring") version "1.3.71"
kotlin("plugin.jpa") version "1.3.71"
kotlin("plugin.allopen") version "1.3.71"
}
So what am I missing here?JP
03/29/2020, 3:34 AMjpa
plugin is installed, but when I checked build.gradle.kts
the jpa
plugin was of course already installed, since I was following the steps in the tutorial.
plugins {
id("org.springframework.boot") version "2.2.6.RELEASE"
id("io.spring.dependency-management") version "1.0.9.RELEASE"
kotlin("jvm") version "1.3.71"
kotlin("plugin.spring") version "1.3.71"
kotlin("plugin.jpa") version "1.3.71"
kotlin("plugin.allopen") version "1.3.71"
}
So what am I missing here?leodeng
03/29/2020, 2:58 PM@Entity
class Article {
var id: Long = 0
var name: String = ""
var desc: String? = null
}
JP
03/30/2020, 6:09 AMleodeng
03/30/2020, 3:29 PMJP
03/31/2020, 12:04 PMleodeng
04/01/2020, 2:19 AM