@Service
public class ItemServiceImpl implements ItemService { @Autowired
private TbItemMapper itemMapper; public TbItem getItemById(Long itemId) {
System.out.println("---------------1------------------");
TbItem item = itemMapper.selectByPrimaryKey(itemId);
System.out.println("---------------2------------------");
return item;
}
}
二月 09, 2018 5:37:38 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8090"]
---------------1------------------
执行之后就下面就执行不下去了,一般是啥地方配置出线的问题。