JRuby & Java-annotated classes

I’ve searched quite a bit for an answer to this, which usually tells me
asking a stupid question. With that being said, here goes:

I am piloting a project using JRuby/Cucumber to test a Spring/Hibernate
application. The existing application makes heavy use of annotation
configuration. While I can load up Spring/Hibernate environments in
with explicit resource mappings & bean definitions, it is not working
an annotation-based configuration. All the annotation processing is
done by
the imported spring classes, so I don’t see why it wouldn’t work?

Most of the conversation I see revolves around annotating JRuby classes,
not problems with annotated java classes being included in JRuby.
Fundamentally, I don’t understand why this doesn’t work. I’ll spare the
code here, as I’m not sure it’s relevant; I’m more interested in
understanding if/why I’m barking up the wrong tree.

Thanks in advance.

View this message in context:
Sent from the JRuby - User mailing list archive at Nabble.com.