123
06/21/2018, 10:57 AM@Component class Service(val list: ArrayList<String> = emptyList()) : List<> ... by list
Spring thinks that I’m injecting a bean and throws No qualified beans…
How to solve it?123
06/21/2018, 10:58 AMdiesieben07
06/21/2018, 11:19 AM@Autowired
maybe?nfrankel
06/23/2018, 9:59 PMnfrankel
06/23/2018, 9:59 PMnfrankel
06/23/2018, 10:00 PMuserHandler
?
trying to inject it with ref()
with no success
since it’s not inside a bean
blocknfrankel
06/23/2018, 10:19 PMrouter
block
and used it in the main beans
block as
bean(WebHttpHandlerBuilder.WEB_HANDLER_BEAN_NAME) {
RouterFunctions.toWebHandler(PersonRoutes(PersonHandler(ref())).routes())
}
no more successsdeleuze
06/26/2018, 9:16 AMfindByIdOrNull(id: ID): T?
extension to findById(id: ID): Optional<T>?
https://jira.spring.io/browse/DATACMNS-1346Pere Casafont
06/27/2018, 10:05 AMPere Casafont
06/27/2018, 10:34 AMpoohbar
07/04/2018, 6:11 PMpoohbar
07/04/2018, 6:11 PM2.0.3.RELEASE
hho
07/05/2018, 9:06 AM${project.parent.version}
?gimlet
07/05/2018, 12:57 PMБежан Александр
07/16/2018, 12:33 PMsdeleuze
07/16/2018, 2:31 PMcorneil
07/20/2018, 11:41 AMspring-fu
and was wondering if doing compile time annotation processors to generate implementations from an annotated repository will go against the aim of the project?
My thinking was it will be possible to generate an implementation that does the same kind of work as what currently happens in Spring Data but no proxies or reflection involved.ciferkey
07/20/2018, 1:49 PMException in thread "main" java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@5cc7c2a6 has not been refreshed yetThe exception does not happen if I wire the routes directly in the application class. Here is some example code and the full stack trace: https://gist.github.com/ciferkey/02be73b8dd18add59c8d63b528c79a12 Any thoughts why?
sdeleuze
07/20/2018, 2:08 PMsdeleuze
07/20/2018, 4:42 PMcorneil
07/21/2018, 12:11 PM2018-07-21 13:56:36.112 DEBUG --- [ctor-http-nio-2] o.s.d.m.core.ReactiveMongoTemplate : find using query: { "timestamp" : { "$gte" : { "$date" : 1529582195915 }, "$lte" : { "$date" : 1532174195915 } } } fields: Document{{}} for class: class com.github.corneil.model.LocationHistory in collection: location_history
2018-07-21 13:59:42.289 DEBUG 1748 --- [ctor-http-nio-2] o.s.d.m.r.query.MongoQueryCreator : Created query Query: { "timestamp" : { "$gt" : { "$date" : 1529582382262 }, "$lt" : { "$date" : 1532174382261 } } }, Fields: { }, Sort: { }
2018-07-21 13:59:42.298 DEBUG 1748 --- [ctor-http-nio-2] o.s.d.m.core.ReactiveMongoTemplate : find using query: { "timestamp" : { "$gt" : { "$date" : 1529582382262 }, "$lt" : { "$date" : 1532174382261 } } } fields: Document{{}} for class: class com.github.corneil.model.LocationHistory in collection: location_history
corneil
07/21/2018, 1:42 PMspring.data.mongodb
are not read. Using correct connection string solved the problem.tmg
07/23/2018, 6:12 PMsdeleuze
07/26/2018, 5:04 PMziggy42
07/27/2018, 12:36 PMConfigurationProperties
with a certain field a
. I have an external library (that I cannot replace in any way) that at some point requires the name of an implementation of an Interface
. This is the implementation:
class ClientHandler : CallbackHandler {
override fun handle(callbacks: Array<Callback>) {
(callbacks[0] as SpecificCallback).a = a
}
}
ziggy42
07/27/2018, 12:36 PMziggy42
07/27/2018, 12:36 PMcorneil
07/29/2018, 10:00 AMrrader
08/03/2018, 2:53 PMjdbcTemplate.queryForObject(sql, parameters, Long::class.java)
I get an warning
"Expected type does not accept nulls in Kotlin, but the value may be null in Java"
how to fix?