Hi guys, a little help: I’m receiving the followi...
# announcements
g
Hi guys, a little help: I’m receiving the following error:
...DataSource.kt:[32,5] Val cannot be reassigned
But this is looks strange because the actual code is:
Copy code
@Bean
    @Profile("local", "dev", "staging", "production")
    open fun redisTemplate(): RedisTemplate<String, Any> {
        val template = RedisTemplate<String, Any>()
				template.connectionFactory = jedisConnectionFactory()
        template.valueSerializer = GenericToStringSerializer(Any::class.java)

        return template
    }
Someone have a clue?