BOS75开发单据,错误。
金蝶云社区-云社区用户8y3E1234
云社区用户8y3E1234
0人赞赏了该文章 1,150次浏览 未经作者许可,禁止转载编辑于2014年06月04日 11:44:19
使用BOS75开发单据后,启动服务和单据测试,报错。找不到具体原因。eas_framework_client.jar 包有加载 具体错误信息:javax.servlet.ServletException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: com/kingdee/eas/framework/DataBaseInfo at com.apusic.web.container.WebComponent.create(Unknown Source) at com.apusic.web.container.WebComponent.getComponent(Unknown Source) at com.apusic.web.container.ServletComponent.service(Unknown Source) at com.apusic.web.container.ServletFilterWrapper.doFilter(Unknown Source) at com.apusic.web.container.FilterChainImpl.doFilter(Unknown Source) at com.kingdee.bos.webframework.filter.WafHttpRequestFilter.doFilter(WafHttpRequestFilter.java:95) at com.apusic.web.container.FilterComponent.doFilter(Unknown Source) at com.apusic.web.container.FilterChainImpl.performFilter(Unknown Source) at com.apusic.web.container.FilterChainImpl.doFilter(Unknown Source) at com.kingdee.bos.webframework.filter.WafContextFilter.doFilter(WafContextFilter.java:53) at com.apusic.web.container.FilterComponent.doFilter(Unknown Source) at com.apusic.web.container.FilterChainImpl.performFilter(Unknown Source) at com.apusic.web.container.FilterChainImpl.doFilter(Unknown Source) at org.jasig.cas.client.util.HttpServletRequestWrapperFilter.doFilter(HttpServletRequestWrapperFilter.java:75) at com.apusic.web.container.FilterComponent.doFilter(Unknown Source) at com.apusic.web.container.FilterChainImpl.performFilter(Unknown Source) at com.apusic.web.container.FilterChainImpl.doFilter(Unknown Source) at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:197) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) at com.apusic.web.container.FilterComponent.doFilter(Unknown Source) at com.apusic.web.container.FilterChainImpl.performFilter(Unknown Source) at com.apusic.web.container.FilterChainImpl.doFilter(Unknown Source) at org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:107) at com.kingdee.bos.sso.client.filter.authentication.KDPortalAuthenticationFilter.doFilter(KDPortalAuthenticationFilter.java:54) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) at com.apusic.web.container.FilterComponent.doFilter(Unknown Source) at com.apusic.web.container.FilterChainImpl.performFilter(Unknown Source) at com.apusic.web.container.FilterChainImpl.doFilter(Unknown Source) at com.kingdee.bos.waf.filter.EaswebRPCFilter.doFilter(EaswebRPCFilter.java:56) at com.apusic.web.container.FilterComponent.doFilter(Unknown Source) at com.apusic.web.container.FilterChainImpl.performFilter(Unknown Source) at com.apusic.web.container.FilterChainImpl.doFilter(Unknown Source) at com.kingdee.eas.perflog.app.monitor.http.HttpFilter.doFilter(HttpFilter.java:43) at com.apusic.web.container.FilterComponent.doFilter(Unknown Source) at com.apusic.web.container.FilterChainImpl.performFilter(Unknown Source) at com.apusic.web.container.FilterChainImpl.doFilter(Unknown Source) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at com.apusic.web.container.FilterComponent.doFilter(Unknown Source) at com.apusic.web.container.FilterChainImpl.performFilter(Unknown Source) at com.apusic.web.container.WebContainer.invoke(Unknown Source) at com.apusic.web.container.WebContainer.processRequest(Unknown Source) at com.apusic.web.http.VirtualHost.processRequest(Unknown Source) at com.apusic.web.http.HttpServer.processRequest(Unknown Source) at com.apusic.web.http.HttpConnectionHandler.service(Unknown Source) at com.apusic.web.http.ConnectionHandler.processRequest(Unknown Source) at com.apusic.web.http.ConnectionHandler.processConnection(Unknown Source) at com.apusic.web.http.ConnectionHandler.run(Unknown Source) at com.apusic.util.ThreadPoolImpl$WorkerThread.run(Unknown Source)Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: com/kingdee/eas/framework/DataBaseInfo at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:631) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:588) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:645) at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:508) at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:449) at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133) at javax.servlet.GenericServlet.init(GenericServlet.java:241) at com.apusic.web.container.ServletComponent.initializeComponent(Unknown Source) at com.apusic.web.container.ServletComponent.initializeComponent(Unknown Source) ...51 moreCaused by: java.lang.NoClassDefFoundError: com/kingdee/eas/framework/DataBaseInfo at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2395) at java.lang.Class.getDeclaredMethods(Class.java:1763) at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:467) at org.springframework.web.method.HandlerMethodSelector.selectMethods(HandlerMethodSelector.java:58) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.detectHandlerMethods(AbstractHandlerMethodMapping.java:137) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.initHandlerMethods(AbstractHandlerMethodMapping.java:107) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.initApplicationContext(AbstractHandlerMethodMapping.java:87) at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(ApplicationObjectSupport.java:119) at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContext(WebApplicationObjectSupport.java:72) at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73) at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:117) at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:92) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1448) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) ...68 more 请老手帮忙看下。