Does anyone know if you can weave scala classes at compile time with aspectJ & spring. I have compile time weaving working for all my java classes but I can't seem to get it to work for my scala classes that use @Configurable.
相关问题
- Unusual use of the new keyword
- java.lang.IllegalArgumentException: Cannot set to
- Spring Data MongoDB - lazy access to some fields
- Get Runtime Type picked by implicit evidence
- Declaring an explict object dependency in Spring
相关文章
- java JDK动态代理和cglib动态代理最后获取的代理对象都为null的问题
- org.xml.sax.SAXParseException; lineNumber: 7; colu
- SpringMVC如何把File封装到Map中?
- Gatling拓展插件开发,check(bodyString.saveAs("key"))怎么实现
- RDF libraries for Scala [closed]
- Spring: controller inheritance using @Controller a
- Why is my Dispatching on Actors scaled down in Akk
- How to load @Configuration classes from separate J
For background I have been working on this for a couple of days. What a pain. Anyways here's the answer. Yes it can be done, you just can't use the aspectj maven plugin. You have to use the antrun maven plugin. Happy Scala Coding!
We got compile errors from aspectj-maven-plugin 1.0 that it missed Scala classes. An upgrade from to version 1.4 of the maven plugin solved that.