Hmm, I'm not sure which way the docs are out of sync - future or past.
http://tapestry.apache.org/tapestry5/tapestry-spring/
You'll see further down the page after the example it mentions "Spring:UserDAO".
That's what I'm using with 5.0.3 SNAPSHOT and it works. Try
@Inject("spring:groupRepository")
private GroupRepository groupRepository;
Cheers,
Nick.
Matt Welch wrote:
I'm sure I must be doing something wrong, but for lthe life of me, I can't
figure out what it is.
I'm not trying anything complicated. I've confirmed that my Spring beans
are
accessible in my webapp so I know the Spring part of my configuration is
correct. Here's how I'm trying to inject the Spring bean (per the
tapestry-spring documentation):
@Inject
@SpringBean("groupRepository")
private GroupRepository groupRepository;
However, when I try to access the page that uses this service, I'm seeing
the following error:
java.lang.RuntimeException: No service implements the interface
net.xxx.xxx.repository.GroupRepository.
I'm clearly missing a configuration step, but I'm just not sure what it is.
Any help would be greatly appreciated.
-Matt
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]