Parse custom bean is not worked. How do I solve this problem?

已回答

Hello.

I have some problem with IntelliJ IDEA.

My version is 2016.2.5.

 

I make a project for spring with mybatis.

And I make a servlet-mybatis-context.xml for scanning mappers.

But some error for this case. (see this image)

 

So I try to solve this problem, quick fix (alt+enter) and use "Parse custom bean".

But problem is still leaving.

 

How to solve this porblem?

0

I solve this problem.

 

My project's spring version is 4.3.3.RELEASE.

I try to change my spring version 4.2.5.RELEASE. And solve the problem.

I try to parse custom bean, and this is successful result.

Auto wiring error is removed.

1

请先登录再写评论。