|
|
This post has NOT been accepted by the mailing list yet.
hi dear, help me!
when i use mybatis-3.1.0, i can't get the service!
<context:component-scan base-package="com.tenchong.service" />
in the action
@SpringBean
private transient TestService testService;
public String save() throws Exception {
testEntity = new TestEntity();
testService.insert(testEntity);
}
testService is null.
can you help me?
|