Accepted answer

So I figured out my issue. It actually may have been "broken" with java as well as scala. My service class consisted only of an implementation class and no interface. Once @Transactional proxied the class spring was unable to find an autowire candidate. Simply adding an interface (or trait in scala) fixed the issue.


When you add <tx:annotation-driven/> to your configuration, it causes various wrapping to happen with proxy classes (see the Spring documentation on transactions). This probably isn't playing well with the @Transactional annotation and Scala.

See Use Spring @Transactional in Scala

Related Query

More Query from same tag