V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  smithken  ›  全部回复第 1 页 / 共 4 页
回复总数  73
1  2  3  4  
2020-04-04 17:17:18 +08:00
回复了 smithken 创建的主题 全球工单系统 不知道为啥就是运行不了
ok,已解决
2020-04-04 15:21:51 +08:00
回复了 smithken 创建的主题 全球工单系统 不知道为啥就是运行不了
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.neusoft.user.dao.IClassifyDao] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup=, name=, description=, authenticationType=CONTAINER, type=class java.lang.Object, mappedName=)}
at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1103)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:963)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:858)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:442)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:420)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:545)
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:155)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:305)
... 60 more
Related cause:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'IClassifyDao' defined in file [D:\IdeaProjects\book\out\artifacts\book\WEB-INF\classes\com\neusoft\user\dao\IClassifyDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [D:\IdeaProjects\book\out\artifacts\book\WEB-INF\classes\spring\ApplicationContext-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [mybatis/mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource com/neusoft/user/mapper/ClassifyMapper.xml
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:336)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getTypeForFactoryBean(AbstractBeanFactory.java:1418)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:788)
at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:541)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:387)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:362)
at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:187)
2020-04-04 15:21:37 +08:00
回复了 smithken 创建的主题 全球工单系统 不知道为啥就是运行不了
Cause: java.io.IOException: Could not find resource com/neusoft/user/mapper/ClassifyMapper.xml
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:308)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4792)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5256)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1736)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:483)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:432)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:346)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2019-12-30 18:31:19 +08:00
回复了 pythonee 创建的主题 程序员 如果你不干程序员,你会做什么来养活自己?
搬砖(物理)、跑滴滴、汽修、空调安装、手机电脑维修、平面设计


因为我不是程序员只是一个会撸图的菜鸡
2019-11-13 13:10:49 +08:00
回复了 Johnny168 创建的主题 问与答 求推荐 5k 以下的笔记本,最好带数字键(15 寸左右的)
游匣 5577 ?
2019-08-15 15:49:14 +08:00
回复了 luvxy 创建的主题 设计 ui, 0 基础学习给点建议吧
@ugu 因为一般没有美术基础根本做不好 UI,只能做美工画图,图片的搬运工没有模仿案例就做不出东西(只能在软件外包小公司混饭吃),这是大部分没有美术基础转行做 UI 的通病,这几年低端 UI 饱和严重,只有真正有美术基础(至少是美院的美术生)高学历和设计能力的才能被称之为 User Interface
2019-08-12 20:03:47 +08:00
回复了 luvxy 创建的主题 设计 ui, 0 基础学习给点建议吧
如果是一点美术功底都没有和审美脸盲请弃坑学 JAVA (硬核技术),千万不要觉得 UI 能赚大钱,一般半路转行的都干不下去,都是发现赚不到钱从而改行
那么滚回 1803 有用吗?还是说一直都这样
2019-07-27 15:34:46 +08:00
回复了 compareInt 创建的主题 职场话题 接着上面一篇文章继续(我最近面试遇到的奇葩事)
还有一种是先骗进来一直拖着不签合同,面试是随便聊聊就说明天可以过来上班,第一天就和你说未来的发展趋势公司要走“物联网方向靠近”之类的,第二天甩你一些二三手转包活,第三天让你自学机器学习和智能 AI,三个月后只字不提签合同(之前拿试用期的幌子)一直画饼,激励造梦,有的人(好说话被洗脑)可能被压这 3 个月工资继续白干活
2019-07-24 09:08:32 +08:00
回复了 woshi88 创建的主题 随想 22 岁,一事无成
2019-07-22 19:20:03 +08:00
回复了 morainzh 创建的主题 程序员 介绍一下如何自组 500 以下的机械键盘?
罗技 413 ?
2019-06-10 10:07:37 +08:00
回复了 jiangeshanxi 创建的主题 问与答 迫于日常通勤以双肩压迫,求推荐一个轻薄本
二手预定
2019-06-10 10:00:17 +08:00
回复了 rink00 创建的主题 职场话题 30 岁老程序员有什么出路
当然可以平时追番看剧,工作看门大爷(废材的养老生活)
2019-06-10 09:58:43 +08:00
回复了 rink00 创建的主题 职场话题 30 岁老程序员有什么出路
安装监控设备只要你感兴趣可以合伙
2019-06-10 09:51:54 +08:00
回复了 s1th 创建的主题 问与答 额外干活的补贴被公司取消了,应该怎么办
常见的画大饼:“年轻人就是要多干活,锻炼一下”,“***你会****吗?(会,交给你,好好干 /不会,你看看你这样的事都不会怎么行,这样吧你拿出一段时间学学,奖励补贴少不了的)”

赶紧跑活多屁事多,到时候两件事都做不好全部怪你再把你变相辞退(如果可以尽量说明自己忙不过来,让他另外找人,反之括号外面)
2019-06-09 19:28:29 +08:00
回复了 vscode 创建的主题 问与答 坐标深圳,想入手电动车,二轮,打扰了
还能上牌吗?不是有限制的吗?深圳还能骑电动车? 16 年铁了心离开深圳就是因为不让骑电动车
2019-06-09 10:06:41 +08:00
回复了 dongliangnerd 创建的主题 职场话题 年纪渐长的你会从考虑从北上广深回老家 N 线城市吗
养老会回去,回去发展就有点不切实际,坐标“三线赣州”
1  2  3  4  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1618 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 33ms · UTC 16:55 · PVG 00:55 · LAX 08:55 · JFK 11:55
Developed with CodeLauncher
♥ Do have faith in what you're doing.