j2ee-Annotation-specified bean name 'pickingCallback'

问题描述

Annotation-specified bean name 'pickingCallback'

在google和baidu上没有找到答案,环境也调试过了。java7,tomcat7和spring3.2.14,不知道哪里错了?来问下大神门。

 八月 08, 2015 11:30:51 上午 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'pickingCallback' for bean class [com.sun.j3d.utils.picking.behaviors.PickingCallback] conflicts with existing, non-compatible bean definition of same name and class [com.sun.j3d.utils.behaviors.picking.PickingCallback]
    at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.checkCandidate(ClassPathBeanDefinitionScanner.java:312)
    at org.mybatis.spring.mapper.ClassPathMapperScanner.checkCandidate(ClassPathMapperScanner.java:237)
    at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:253)
    at org.mybatis.spring.mapper.ClassPathMapperScanner.doScan(ClassPathMapperScanner.java:164)
    at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.scan(ClassPathBeanDefinitionScanner.java:220)
    at org.mybatis.spring.mapper.MapperScannerConfigurer.postProcessBeanDefinitionRegistry(MapperScannerConfigurer.java:319)
    at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:632)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461)
    at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4994)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5492)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)

解决方案

解决了,其实我都没发现错误在哪里。重新改了改配置文件,就好了。

解决方案二:

应该是bean命名冲突了,这个pickingCallback

时间: 2024-12-27 11:11:48

j2ee-Annotation-specified bean name 'pickingCallback'的相关文章

请求-求助啊!!var id=$(this).attr('id'); 和 $(this).empty(); 怎么结合

问题描述 求助啊!!var id=$(this).attr('id'); 和 $(this).empty(); 怎么结合 已经获得各个id ... $(document).ready(function(){ $('div').click(function(){ var id=$(this).attr('id'); alert(id); //可以得到某个id的值 var aurl=""<%=basePath%>/colV.action""; var ada

javascript-jquery如何设置一个动态创建的 $(&amp;amp;#39;#&amp;amp;#39;).append(&amp;amp;#39;&amp;amp;#39;)中的ID?并利用它

问题描述 jquery如何设置一个动态创建的 $('#').append('')中的ID?并利用它 就比如像这样的: <script type="text/javascript"> var number=0; function next(){ $('#showdata').append('<input class="number_showdata" id="showdataid'+number+'" type="tex

No bean named &amp;amp;#39;sysConfigDAO&amp;amp;#39; is defined

问题描述 No bean named 'sysConfigDAO' is defined 1SysConfigService.java ...... package com.lfyc.foundation.service.impl; @Transactional @Service ("SysConfigService") public class SysConfigService implements ISysConfigService { @Resource(name="s

spring-h、s整合问题:No bean named &amp;amp;#39;sessionFactory&amp;amp;#39; is defined

问题描述 h.s整合问题:No bean named 'sessionFactory' is defined 我用的是hibernate和spring整合,在beans.xml写了sessionFactory.在类里面调用@Resource时就报错了 @Resource(name="sessionFactory") public void setSessionFactory(SessionFactory sessionFactory) { this.sessionFactory = s

sessionfactory-No bean named &amp;amp;#39;sessionFactory&amp;amp;#39; is defined

问题描述 No bean named 'sessionFactory' is defined 在加入spring security之后出现了下面的问题 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCrea

hibernate spring-Error creating bean with name &amp;amp;#39;sessionFactory&amp;amp;#39;

问题描述 Error creating bean with name 'sessionFactory' 下面是详细信息2015-12-17 9:07:58 org.apache.catalina.core.StandardContext listenerStart严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextL

springboot-Error creating bean with name &amp;amp;#39;loadTimeWeaver&amp;amp;#39;

问题描述 Error creating bean with name 'loadTimeWeaver' 请问这种情况需要怎么解决 Error starting ApplicationContext. To display the auto-configuration report enabled debug logging (start with --debug) 2016-02-22 11:09:48.686 ERROR 3184 --- [ main] o.s.boot.SpringAppl

spring mvc-No bean named &amp;amp;#39;sessionFactory&amp;amp;#39; is defined错误

问题描述 No bean named 'sessionFactory' is defined错误 运行时 报No bean named 'sessionFactory' is defined错误 我用的是Eclipse 然后是Spring MVC + Hibernate + Maven编写的0.0 解决方案 java 异常问题 No bean named 'sessionFactory' is defined:http://blog.csdn.net/mypurse/article/detail

sessionfactory-服务器启动时 No bean named &amp;amp;#39;sessionFactory&amp;amp;#39; is defined

问题描述 服务器启动时 No bean named 'sessionFactory' is defined ApplicationContext ac = WebApplicationContextUtils.getWebApplicationContext(event.getServletContext()); 每一次调用这个就会使hibernate建立一个连接池, 在applicationContext-hibernate.xml中有数据库连接信息,数据库表映射信息(sessionfacto