A-ha. The problem was a spring bean name collision.