https://kotlinlang.org logo
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
spring
  • d

    dharrigan

    07/24/2017, 12:23 PM
    @sdeleuze Nice to see your Kotlin Spring DSL in the new RC3 release of SPR 5
    👍 3
    s
    • 2
    • 1
  • s

    ssouris

    07/25/2017, 10:07 AM
    @eddumelendez on
    May 23
    I did a PR on your repo did you check that? Actually I am glad I stumbled upon your repo and started my “journey” with kotlin 🙂
    e
    • 2
    • 1
  • s

    sdeleuze

    07/27/2017, 9:22 AM
    @poohbar (and others) Don't hesitate to add your 👍 to https://github.com/spring-projects/spring-boot/issues/8762 to show your interest
    p
    • 2
    • 3
  • p

    poohbar

    07/27/2017, 10:35 AM
    Does anyone have an idea why would this code cause dependency cycle?
    @Configuration
    @EnableWebSecurity
    class WebSecurityConfig(private val authenticationManager: AuthenticationManager) : WebSecurityConfigurerAdapter() {
        // empty
    }
    ┌─────┐
    |  webSecurityConfig defined in file [C:\Users\...\WebSecurityConfig.class]
    ↑     ↓
    |  authenticationManager defined in class path resource [org/springframework/boot/autoconfigure/security/AuthenticationManagerConfiguration.class]
    └─────┘
    j
    • 2
    • 1
  • a

    agomez

    07/27/2017, 9:53 PM
    https://github.com/mixitconf/mixit by @sdeleuze it's a great example
    t
    • 2
    • 1
  • l

    lewis

    08/02/2017, 2:55 PM
    will try to remember to check if moritz creates an issue 👍
    s
    • 2
    • 2
  • y

    yann.cebron

    08/03/2017, 8:14 AM
    This is an IntelliJ Spring support issue https://youtrack.jetbrains.com/issue/IDEA-139669 unfortunately we cannot (yet) evaluate all beans “as at runtime” completely. You can switch off that inspection to avoid false warnings.
    👍 1
    z
    • 2
    • 1
  • t

    tjb

    08/10/2017, 9:40 PM
    has anyone encountered
    no suitable constructor found, can not deserialize from Object value
    when using data classes on a
    @RequestBody
    ?
    s
    • 2
    • 2
  • j

    jk

    08/12/2017, 2:54 PM
    @e.lislebo assuming the filename is
    MyKotlinClass.kt
    , you should be using
    com.sportradar.MyKotlinClassKt.main
    e
    • 2
    • 7
  • f

    fitzoh

    08/29/2017, 12:35 AM
    @sdeleuze those kotlin spring docs look great!
    s
    • 2
    • 1
  • s

    sdeleuze

    08/29/2017, 8:50 AM
    https://twitter.com/sdeleuze/status/902453210702651393
    :kotlin: 5
    👍 17
    🎉 7
    p
    • 2
    • 4
  • d

    duncanconroy

    09/05/2017, 7:32 AM
    Good Morning! I need some advice, because I'm stuck and I'd highly appreciate any input 🙂 My main project is Java + Spring Boot 1.5.4. I have a second project in Kotlin + Spring Boot 2.0.0.M3, which is using Entity classes from my main project, as in this repository:
    package com.alphabrik.inditex.instore.import.io.readers
    
    import com.alphabrik.inditex.instore.web.entity.stores.Area
    import org.springframework.data.repository.CrudRepository
    
    interface AreaRepository : CrudRepository<Area, Long>
    When I compile and run this with IntelliJ, everything works like a charme. The problem occurs, when I try to compile this with Maven - it tells
    [...]\AreaRepository.kt: (3, 38) Unresolved reference: web
    and
    [...]\AreaRepository.kt: (6, 43) Unresolved reference: Area
    I started the Kotlin project with the config from start.spring.io Any ideas? Thanks in advance 🙂
    a
    • 2
    • 2
  • c

    Czar

    09/05/2017, 2:45 PM
    Please post if you find the reason, it's curious.
    m
    d
    • 3
    • 4
  • k

    kagomez

    09/06/2017, 3:47 PM
    hey guys 😄 have any recommended books for learning spring?
    c
    • 2
    • 2
  • s

    sdeleuze

    09/07/2017, 9:30 PM
    I think I have finished the Kotlin reference documentation (improved organiation, updated info on
    @ConfigurationProperties
    and function bean registration with Boot, additional section about annotations), feel free to have a look (https://docs.spring.io/spring-framework/docs/5.0.0.BUILD-SNAPSHOT/spring-framework-reference/kotlin.html#kotlin) and to propose fixes via pull request on https://github.com/spring-projects/spring-framework/pulls (asciidoc source is https://github.com/spring-projects/spring-framework/blob/master/src/docs/asciidoc/kotlin.adoc)
    👍 12
    s
    • 2
    • 1
  • s

    sdeleuze

    09/07/2017, 9:32 PM
    Last RC before GA
    👍 2
    m
    • 2
    • 1
  • d

    dharrigan

    09/08/2017, 8:43 AM
    I use -parameter in all my java builds
    s
    • 2
    • 1
  • x

    xantier

    09/11/2017, 9:14 AM
    If you want an object with name you can use something like
    @Query("select new com.packageName.SomeDTO(field, field, field, name) from ...")
    n
    • 2
    • 5
  • f

    fitzoh

    09/14/2017, 5:19 PM
    .beans.factory.BeanCreationException: Error creating bean with name 'cfProperties': Could not bind properties to CfProperties (prefix=cf, ignoreInvalidFields=false, ignoreUnknownFields=true, ignoreNestedProperties=false); nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'services' of bean class [com.cardinalhealth.mobius.mobiusorchestrator.cf.config.CfProperties$$EnhancerBySpringCGLIB$$d09a0c26]: Getter for property 'services' threw exception; nested exception is java.lang.reflect.InvocationTargetException
    	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
    	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
    a
    • 2
    • 8
  • s

    sdeleuze

    09/26/2017, 7:04 AM
    @pavel I have added a new section about JPA in Spring Framework 5 ref doc https://docs.spring.io/spring-framework/docs/5.0.0.BUILD-SNAPSHOT/spring-framework-reference/kotlin.html#using-immutable-class-instances-for-persistence
    👍 1
    c
    p
    • 3
    • 6
  • h

    hho

    09/27/2017, 3:14 PM
    In the [Requirements](https://docs.spring.io/spring-framework/docs/5.0.0.BUILD-SNAPSHOT/spring-framework-reference/kotlin.html#requirements) paragraph, I wouldn't list the different
    stdlib
    variants. As Spring 5 has a JRE8 baseline anyway, I would [only] require the
    kotlin-stdlib-jre8
    version.
    s
    • 2
    • 2
  • d

    dharrigan

    09/28/2017, 5:40 PM
    @sdeleuze congratulations on Spring 5!
    s
    • 2
    • 1
  • n

    nfrankel

    09/28/2017, 7:12 PM
    this is not a resource, this is a sample 😄
    a
    • 2
    • 1
  • m

    m

    09/29/2017, 1:19 PM
    if it's a kotlin bug, why does it only happen to me...
    o
    y
    • 3
    • 4
  • t

    twbarber

    09/29/2017, 2:01 PM
    Is anyone familiar with autowiring properties in Spek tests?
    s
    • 2
    • 1
  • z

    ziad

    09/29/2017, 2:47 PM
    Hello! Does anyone have any recommendations for a guide I can follow to setup authentication for a restful API backend written in Kotlin/Spring Boot?
    v
    • 2
    • 2
  • s

    sdeleuze

    10/02/2017, 11:38 AM
    https://twitter.com/sdeleuze/status/914816571985580032
    x
    d
    • 3
    • 24
  • s

    soudmaijer

    10/02/2017, 12:34 PM
    @sdeleuze Do you have any idea if there is a kotlin dsl version of Spring Cloud Contract?
    s
    • 2
    • 4
  • s

    soudmaijer

    10/02/2017, 5:57 PM
    @villela do you have a code sample of the part that is failing
    v
    c
    • 3
    • 13
  • o

    orangy

    10/04/2017, 11:29 AM
    According to new scheme, JDK10 already happened 7 years ago
    h
    • 2
    • 1
Powered by Linen
Title
o

orangy

10/04/2017, 11:29 AM
According to new scheme, JDK10 already happened 7 years ago
h

hho

10/04/2017, 11:37 AM
…or will happen in 93 years. 😄
View count: 3