NutzCN Logo
问答 静态方法通过Mvcs方法获取ioc,获取不到PropertiesProxy配置文件对象,求解?
发布于 1751天前 作者 小苍蝇 1658 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk
	public static List<InputStream> getSytImg(String ids) {
		CommonDao commonDao = Mvcs.getIoc().get(CommonDao.class);
		//为啥为空,取不到PropertiesProxy配置文件对象
		PropertiesProxy conf = Mvcs.getIoc().get(PropertiesProxy.class);
		return null;
	}
1 回复

带上名字conf

添加回复
请先登陆
回到顶部