springmvc的maven项目,在eclipse下启动没问题,可是在idea下一直报错

错误如下,是我什么没配置好吗?找了大半天也没解决.谁遇到过,给个提示啊....

 [2016-06-30 11:23:24,700]-[DEBUG]-DisposableBeanAdapter - Invoking destroy() on bean with name '(inner bean)#7049bb0'
[2016-06-30 11:23:24,700]-[DEBUG]-DefaultListableBeanFactory - Retrieved dependent beans for bean '(inner bean)#1197fa80#1': [(inner bean)#7049bb0]
[2016-06-30 11:23:24,701]-[WARN ]-XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChains': Cannot resolve reference to bean 'org.springframework.security.web.DefaultSecurityFilterChain#6' while setting bean property 'sourceList' with key [6]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#6': Cannot resolve reference to bean 'filterSecurityInterceptor' while setting constructor argument with key [10]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'filterSecurityInterceptor' defined in class path resource [security-context.xml]: Cannot resolve reference to bean 'sysSecurityMetadataSource' while setting bean property 'securityMetadataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sysSecurityMetadataSource' defined in class path resource [security-context.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.boyuanitsm.yiqicha.security.SysSecurityMetadataSource]: Constructor threw exception; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.boyuanitsm.yiqicha.base.dao.ResourceMapper.selectByExample
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:382)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:157)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1477)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1222)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:736)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)

之前用过eclipse 启动maven 项目么??如果没有那可能是eclipse自带的maven出问题了,建议在网上自己下载maven 然后指向它!

Error creating bean with name '**filterSecurityInterceptor**' defined in class path resource [**security-context.xml**]: Cannot resolve reference to bean 'sysSecurityMetadataSource' **while setting bean property 'securityMetadataSource**';

是不是这几个bean的问题