dharrigan
07/24/2017, 12:23 PMssouris
07/25/2017, 10:07 AMMay 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 🙂sdeleuze
07/27/2017, 9:22 AMpoohbar
07/27/2017, 10:35 AM@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]
└─────┘
agomez
07/27/2017, 9:53 PMlewis
08/02/2017, 2:55 PMyann.cebron
08/03/2017, 8:14 AMtjb
08/10/2017, 9:40 PMno suitable constructor found, can not deserialize from Object value
when using data classes on a @RequestBody
?jk
08/12/2017, 2:54 PMMyKotlinClass.kt
, you should be using com.sportradar.MyKotlinClassKt.main
fitzoh
08/29/2017, 12:35 AMsdeleuze
08/29/2017, 8:50 AMduncanconroy
09/05/2017, 7:32 AMpackage 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 🙂Czar
09/05/2017, 2:45 PMkagomez
09/06/2017, 3:47 PMsdeleuze
09/07/2017, 9:30 PM@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)sdeleuze
09/07/2017, 9:32 PMdharrigan
09/08/2017, 8:43 AMxantier
09/11/2017, 9:14 AM@Query("select new com.packageName.SomeDTO(field, field, field, name) from ...")
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]
sdeleuze
09/26/2017, 7:04 AMhho
09/27/2017, 3:14 PMstdlib
variants. As Spring 5 has a JRE8 baseline anyway, I would [only] require the kotlin-stdlib-jre8
version.dharrigan
09/28/2017, 5:40 PMnfrankel
09/28/2017, 7:12 PMm
09/29/2017, 1:19 PMtwbarber
09/29/2017, 2:01 PMziad
09/29/2017, 2:47 PMsdeleuze
10/02/2017, 11:38 AMsoudmaijer
10/02/2017, 12:34 PMsoudmaijer
10/02/2017, 5:57 PMorangy
10/04/2017, 11:29 AMorangy
10/04/2017, 11:29 AMhho
10/04/2017, 11:37 AM