Fields in object is now static in 2.13

We use Spring a lot using the @javax.annotation.Resource annotation for injecting stuff. It works well but we see new behaviour using the annotation to inject stuff into object in 2.13:

import javax.annotation.Resource
import org.springframework.beans.factory.annotation.Configurable

object MyObject {
	val myService: MyService = null

This works fine in Scala-2.12, but in 2.13 it fails at runtime with:
Caused by: java.lang.IllegalStateException: @Resource annotation is not supported on static fields

Any ideas for a clean solution to this?

Forgot to say; We use AspectJ to weave these non-Spring managed objects, with config like this (aop.xml):

    <weaver options="-verbose -showWeaveInfo">
        Only weave @Configurable stuff
        <include within="@org.springframework.beans.factory.annotation.Configurable com.visena..*"/>

looks like a consequence of

In case anyone gooles this, this is a work-around:

object MyObject {
	@(Resource @setter)
	private var myService: MyService = _

Anyone else got a better idea?