Hello,
I have downloaded the sample from http://mybatis.github.io/spring/sample.html.
- I then open the pom.xml and imported it into intellij
- I added a spring MVC facet
- i added a web facet
- i am using intellij 12.1.6
Once done, the autowiring is failing. I am trying to learn this new framework, but it is difficult when i can not get the sample to run
for example all these have an error similar tor:: Could not autowire. No beans of 'LineItemMapper' type found
public class OrderService {
@Autowired
private ItemMapper itemMapper;
@Autowired
private OrderMapper orderMapper;
@Autowired
private SequenceMapper sequenceMapper;
@Autowired
private LineItemMapper lineItemMapper;
I am thinking it is something i have setup incorrectly in my project.
I have attatched a zip of this sample including the intellij project file.
Hopefully someone can point me to what i am doing incorrectly
Thanks for any help