jdk1.7
spring3.2.8
nutz最新代码自编译1.68
代码如下:
@Configuration
public class DaoConfig {
@Bean(name="nutzDao")
public NutDao dao(){
DataSource ds = DaoService.getDataSource(AppManager.currentApp().getDataSourceId());
System.out.println("ds==========="+ds);
NutDao nutdao = new NutDao(ds);
return nutdao;
}
}
@Service("jwNewDao")
public class JwServiceImpl implements JwService{
@Autowired
NutDao nutzDao;
}
报错(实在有特殊困难没法贴代码,只能拍照,见谅):
[报错内容1]http://47.99.120.47:8080/1.jpg
[报错内容2]http://47.99.120.47:8080/2.jpg