用eclipse导出jar包的时候,记得勾选add directory entries ,spring
spring annotation @Autowired调用时会扫描不到jar报的目录结构,因此会报NoSuchBeanException。eclipse