---
title: " org.springframework.beans.factory.NoUniqueBeanDefinitionException"
author: "wuai"
date: "2016-05-02T13:55:00Z"
tags: []
categories: ["Web前端"]
slug: "org-springframework-beans-factory-nouniquebeandefinitionexception"
draft: false
lastmod: "2016-05-02T13:53:34Z"
id: 2295200
url: "https://wuai.iteye.com/blog/2295200"
---

记一个最近遇到的bug： org.springframework.beans.factory.NoUniqueBeanDefinitionException

提示信息仅此一条，没有后面的 No qualifying bean of type is defined .....

尝试了很多方法，最后更换了spring-orm-3.1.4-RELEASE.jar 才消除了这个bug,可能是spring-orm的版本和spring的版本不一致造成的