maven项目,通过jetty解决,添加一个service层之后,报错 5C

[INFO] No Transaction manager found - if your webapp requires one, please configure one.
[INFO] Set web app root system property: 'product.root' = [C:\Users\Administrator\Desktop\01 code\E-commerce-old\product\product\src\main\webapp]
[INFO] Initializing log4j from [classpath:/config/log4j.properties]
[INFO] Initializing Spring root WebApplicationContext
2018-11-03 23:36:11 [com.guohualife.ebiz.product.base.props.PropertyConfigurer]-[INFO|] - Loading properties file from class path resource [config/config.properties]
2018-11-03 23:36:11 [com.guohualife.ebiz.product.base.props.PropertyConfigurer]-[INFO|] - Loading properties file from class path resource [config/db.properties]
2018-11-03 23:36:12 [org.springframework.web.context.ContextLoader]-[ERROR|] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.binding.BindingFactoryManager' defined in class path resource [META-INF/cxf/cxf.xml]: Cannot create inner bean 'org.apache.cxf.configuration.spring.SpringBeanMap#662cb76' of type [org.apache.cxf.configuration.spring.SpringBeanMap] while setting bean property 'mapProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.configuration.spring.SpringBeanMap#662cb76' defined in class path resource [META-INF/cxf/cxf.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.guohualife.ebiz.product.define.service.impl.ElementDefineServiceImpl] for bean with name 'elementDefineServiceImpl' defined in file [C:\Users\Administrator\Desktop\01 code\E-commerce-old\product\product\target\classes\com\guohualife\ebiz\product\define\service\impl\ElementDefineServiceImpl.class]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com/guohualife/ebiz/product/define/service/ElementDefineService
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:540)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:110)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:371)
at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:307)
at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:203)
at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:954)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.configuration.spring.SpringBeanMap#662cb76' defined in class path resource [META-INF/cxf/cxf.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.guohualife.ebiz.product.define.service.impl.ElementDefineServiceImpl] for bean with name 'elementDefineServiceImpl' defined in file [C:\Users\Administrator\Desktop\01 code\E-commerce-old\product\product\target\classes\com\guohualife\ebiz\product\define\service\impl\ElementDefineServiceImpl.class]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com/guohualife/ebiz/product/define/service/ElementDefineService
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219)
... 60 more
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.guohualife.ebiz.product.define.service.impl.ElementDefineServiceImpl] for bean with name 'elementDefineServiceImpl' defined in file [C:\Users\Administrator\Desktop\01 code\E-commerce-old\product\product\target\classes\com\guohualife\ebiz\product\define\service\impl\ElementDefineServiceImpl.class]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com/guohualife/ebiz/product/define/service/ElementDefineService
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1144)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:524)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1177)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:222)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:202)
at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:933)
at org.apache.cxf.configuration.spring.SpringBeanMap.processBeans(SpringBeanMap.java:45)
at org.apache.cxf.configuration.spring.AbstractSpringBeanMap.afterPropertiesSet(AbstractSpringBeanMap.java:55)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
... 65 more
Caused by: java.lang.NoClassDefFoundError: com/guohualife/ebiz/product/define/service/ElementDefineService
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:366)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:211)
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:385)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1138)
... 74 more
Caused by: java.lang.ClassNotFoundException: com.guohualife.ebiz.product.define.service.ElementDefineService
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:375)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
... 88 more
[ERROR] Failed startup of context org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@5f3a09b7{/product,C:\Users\Administrator\Desktop\01 code\E-commerce-old\product\product\src\main\webapp}
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.binding.BindingFactoryManager' defined in class path resource [META-INF/cxf/cxf.xml]: Cannot create inner bean 'org.apache.cxf.configuration.spring.SpringBeanMap#662cb76' of type [org.apache.cxf.configuration.spring.SpringBeanMap] while setting bean property 'mapProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.configuration.spring.SpringBeanMap#662cb76' defined in class path resource [META-INF/cxf/cxf.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.guohualife.ebiz.product.define.service.impl.ElementDefineServiceImpl] for bean with name 'elementDefineServiceImpl' defined in file [C:\Users\Administrator\Desktop\01 code\E-commerce-old\product\product\target\classes\com\guohualife\ebiz\product\define\service\impl\ElementDefineServiceImpl.class]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com/guohualife/ebiz/product/define/service/ElementDefineService
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean (BeanDefinitionValueResolver.java:230)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary (BeanDefinitionValueResolver.java:117)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues (AbstractAutowireCapableBeanFactory.java:1245)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean (AbstractAutowireCapableBeanFactory.java:1010)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:472)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run (AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged (Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject (AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton (DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons (DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization (AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:380)
at org.springframework.web.context.ContextLoader.createWebApplicationContext (ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext (ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized (ContextLoaderListener.java:45)
at org.mortbay.jetty.handler.ContextHandler.startContext (ContextHandler.java:540)
at org.mortbay.jetty.servlet.Context.startContext (Context.java:135)
at org.mortbay.jetty.webapp.WebAppContext.startContext (WebAppContext.java:1220)
at org.mortbay.jetty.handler.ContextHandler.doStart (ContextHandler.java:510)
at org.mortbay.jetty.webapp.WebAppContext.doStart (WebAppContext.java:448)
at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart (Jetty6PluginWebAppContext.java:110)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart (HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart (ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart (HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerWrapper.doStart (HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart (Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.plugin.Jetty6PluginServer.start (Jetty6PluginServer.java:132)
at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty (AbstractJettyMojo.java:371)
at org.mortbay.jetty.plugin.AbstractJettyMojo.execute (AbstractJettyMojo.java:307)
at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute (AbstractJettyRunMojo.java:203)
at org.mortbay.jetty.plugin.Jetty6RunMojo.execute (Jetty6RunMojo.java:184)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source)
at java.lang.reflect.Method.invoke (Unknown Source)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.configuration.spring.SpringBeanMap#662cb76' defined in class path resource [META-INF/cxf/cxf.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.guohualife.ebiz.product.define.service.impl.ElementDefineServiceImpl] for bean with name 'elementDefineServiceImpl' defined in file [C:\Users\Administrator\Desktop\01 code\E-commerce-old\product\product\target\classes\com\guohualife\ebiz\product\define\service\impl\ElementDefineServiceImpl.class]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com/guohualife/ebiz/product/define/service/ElementDefineService
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean (AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run (AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged (Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean (BeanDefinitionValueResolver.java:219)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary (BeanDefinitionValueResolver.java:117)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues (AbstractAutowireCapableBeanFactory.java:1245)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean (AbstractAutowireCapableBeanFactory.java:1010)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:472)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run (AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged (Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject (AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton (DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons (DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization (AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:380)
at org.springframework.web.context.ContextLoader.createWebApplicationContext (ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext (ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized (ContextLoaderListener.java:45)
at org.mortbay.jetty.handler.ContextHandler.startContext (ContextHandler.java:540)
at org.mortbay.jetty.servlet.Context.startContext (Context.java:135)
at org.mortbay.jetty.webapp.WebAppContext.startContext (WebAppContext.java:1220)
at org.mortbay.jetty.handler.ContextHandler.doStart (ContextHandler.java:510)
at org.mortbay.jetty.webapp.WebAppContext.doStart (WebAppContext.java:448)
at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart (Jetty6PluginWebAppContext.java:110)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart (HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart (ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart (HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerWrapper.doStart (HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart (Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.plugin.Jetty6PluginServer.start (Jetty6PluginServer.java:132)
at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty (AbstractJettyMojo.java:371)
at org.mortbay.jetty.plugin.AbstractJettyMojo.execute (AbstractJettyMojo.java:307)
at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute (AbstractJettyRunMojo.java:203)
at org.mortbay.jetty.plugin.Jetty6RunMojo.execute (Jetty6RunMojo.java:184)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source)
at java.lang.reflect.Method.invoke (Unknown Source)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.guohualife.ebiz.product.define.service.impl.ElementDefineServiceImpl] for bean with name 'elementDefineServiceImpl' defined in file [C:\Users\Administrator\Desktop\01 code\E-commerce-old\product\product\target\classes\com\guohualife\ebiz\product\define\service\impl\ElementDefineServiceImpl.class]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com/guohualife/ebiz/product/define/service/ElementDefineService
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass (AbstractBeanFactory.java:1144)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType (AbstractAutowireCapableBeanFactory.java:524)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean (AbstractBeanFactory.java:1177)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType (DefaultListableBeanFactory.java:222)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType (DefaultListableBeanFactory.java:202)
at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType (AbstractApplicationContext.java:933)
at org.apache.cxf.configuration.spring.SpringBeanMap.processBeans (SpringBeanMap.java:45)
at org.apache.cxf.configuration.spring.AbstractSpringBeanMap.afterPropertiesSet (AbstractSpringBeanMap.java:55)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods (AbstractAutowireCapableBeanFactory.java:1369)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean (AbstractAutowireCapableBeanFactory.java:1335)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run (AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged (Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean (BeanDefinitionValueResolver.java:219)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary (BeanDefinitionValueResolver.java:117)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues (AbstractAutowireCapableBeanFactory.java:1245)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean (AbstractAutowireCapableBeanFactory.java:1010)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:472)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run (AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged (Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject (AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton (DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons (DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization (AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:380)
at org.springframework.web.context.ContextLoader.createWebApplicationContext (ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext (ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized (ContextLoaderListener.java:45)
at org.mortbay.jetty.handler.ContextHandler.startContext (ContextHandler.java:540)
at org.mortbay.jetty.servlet.Context.startContext (Context.java:135)
at org.mortbay.jetty.webapp.WebAppContext.startContext (WebAppContext.java:1220)
at org.mortbay.jetty.handler.ContextHandler.doStart (ContextHandler.java:510)
at org.mortbay.jetty.webapp.WebAppContext.doStart (WebAppContext.java:448)
at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart (Jetty6PluginWebAppContext.java:110)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart (HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart (ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart (HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerWrapper.doStart (HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart (Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.plugin.Jetty6PluginServer.start (Jetty6PluginServer.java:132)
at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty (AbstractJettyMojo.java:371)
at org.mortbay.jetty.plugin.AbstractJettyMojo.execute (AbstractJettyMojo.java:307)
at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute (AbstractJettyRunMojo.java:203)
at org.mortbay.jetty.plugin.Jetty6RunMojo.execute (Jetty6RunMojo.java:184)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source)
at java.lang.reflect.Method.invoke (Unknown Source)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: java.lang.NoClassDefFoundError: com/guohualife/ebiz/product/define/service/ElementDefineService
at java.lang.ClassLoader.defineClass1 (Native Method)
at java.lang.ClassLoader.defineClass (Unknown Source)
at java.security.SecureClassLoader.defineClass (Unknown Source)
at java.net.URLClassLoader.defineClass (Unknown Source)
at java.net.URLClassLoader.access$100 (Unknown Source)
at java.net.URLClassLoader$1.run (Unknown Source)
at java.net.URLClassLoader$1.run (Unknown Source)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass (Unknown Source)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass (WebAppClassLoader.java:366)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass (WebAppClassLoader.java:337)
at org.springframework.util.ClassUtils.forName (ClassUtils.java:211)
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass (AbstractBeanDefinition.java:385)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass (AbstractBeanFactory.java:1138)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType (AbstractAutowireCapableBeanFactory.java:524)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean (AbstractBeanFactory.java:1177)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType (DefaultListableBeanFactory.java:222)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType (DefaultListableBeanFactory.java:202)
at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType (AbstractApplicationContext.java:933)
at org.apache.cxf.configuration.spring.SpringBeanMap.processBeans (SpringBeanMap.java:45)
at org.apache.cxf.configuration.spring.AbstractSpringBeanMap.afterPropertiesSet (AbstractSpringBeanMap.java:55)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods (AbstractAutowireCapableBeanFactory.java:1369)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean (AbstractAutowireCapableBeanFactory.java:1335)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run (AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged (Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean (BeanDefinitionValueResolver.java:219)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary (BeanDefinitionValueResolver.java:117)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues (AbstractAutowireCapableBeanFactory.java:1245)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean (AbstractAutowireCapableBeanFactory.java:1010)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:472)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run (AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged (Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject (AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton (DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons (DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization (AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:380)
at org.springframework.web.context.ContextLoader.createWebApplicationContext (ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext (ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized (ContextLoaderListener.java:45)
at org.mortbay.jetty.handler.ContextHandler.startContext (ContextHandler.java:540)
at org.mortbay.jetty.servlet.Context.startContext (Context.java:135)
at org.mortbay.jetty.webapp.WebAppContext.startContext (WebAppContext.java:1220)
at org.mortbay.jetty.handler.ContextHandler.doStart (ContextHandler.java:510)
at org.mortbay.jetty.webapp.WebAppContext.doStart (WebAppContext.java:448)
at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart (Jetty6PluginWebAppContext.java:110)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart (HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart (ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart (HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerWrapper.doStart (HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart (Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.plugin.Jetty6PluginServer.start (Jetty6PluginServer.java:132)
at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty (AbstractJettyMojo.java:371)
at org.mortbay.jetty.plugin.AbstractJettyMojo.execute (AbstractJettyMojo.java:307)
at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute (AbstractJettyRunMojo.java:203)
at org.mortbay.jetty.plugin.Jetty6RunMojo.execute (Jetty6RunMojo.java:184)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source)
at java.lang.reflect.Method.invoke (Unknown Source)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: java.lang.ClassNotFoundException: com.guohualife.ebiz.product.define.service.ElementDefineService
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass (SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass (ClassRealm.java:271)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (ClassRealm.java:247)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (ClassRealm.java:239)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass (WebAppClassLoader.java:375)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass (WebAppClassLoader.java:337)
at java.lang.ClassLoader.defineClass1 (Native Method)
at java.lang.ClassLoader.defineClass (Unknown Source)
at java.security.SecureClassLoader.defineClass (Unknown Source)
at java.net.URLClassLoader.defineClass (Unknown Source)
at java.net.URLClassLoader.access$100 (Unknown Source)
at java.net.URLClassLoader$1.run (Unknown Source)
at java.net.URLClassLoader$1.run (Unknown Source)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass (Unknown Source)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass (WebAppClassLoader.java:366)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass (WebAppClassLoader.java:337)
at org.springframework.util.ClassUtils.forName (ClassUtils.java:211)
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass (AbstractBeanDefinition.java:385)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass (AbstractBeanFactory.java:1138)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType (AbstractAutowireCapableBeanFactory.java:524)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean (AbstractBeanFactory.java:1177)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType (DefaultListableBeanFactory.java:222)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType (DefaultListableBeanFactory.java:202)
at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType (AbstractApplicationContext.java:933)
at org.apache.cxf.configuration.spring.SpringBeanMap.processBeans (SpringBeanMap.java:45)
at org.apache.cxf.configuration.spring.AbstractSpringBeanMap.afterPropertiesSet (AbstractSpringBeanMap.java:55)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods (AbstractAutowireCapableBeanFactory.java:1369)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean (AbstractAutowireCapableBeanFactory.java:1335)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run (AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged (Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean (BeanDefinitionValueResolver.java:219)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary (BeanDefinitionValueResolver.java:117)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues (AbstractAutowireCapableBeanFactory.java:1245)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean (AbstractAutowireCapableBeanFactory.java:1010)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:472)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run (AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged (Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject (AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton (DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons (DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization (AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:380)
at org.springframework.web.context.ContextLoader.createWebApplicationContext (ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext (ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized (ContextLoaderListener.java:45)
at org.mortbay.jetty.handler.ContextHandler.startContext (ContextHandler.java:540)
at org.mortbay.jetty.servlet.Context.startContext (Context.java:135)
at org.mortbay.jetty.webapp.WebAppContext.startContext (WebAppContext.java:1220)
at org.mortbay.jetty.handler.ContextHandler.doStart (ContextHandler.java:510)
at org.mortbay.jetty.webapp.WebAppContext.doStart (WebAppContext.java:448)
at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart (Jetty6PluginWebAppContext.java:110)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart (HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart (ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart (HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerWrapper.doStart (HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart (Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.plugin.Jetty6PluginServer.start (Jetty6PluginServer.java:132)
at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty (AbstractJettyMojo.java:371)
at org.mortbay.jetty.plugin.AbstractJettyMojo.execute (AbstractJettyMojo.java:307)
at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute (AbstractJettyRunMojo.java:203)
at org.mortbay.jetty.plugin.Jetty6RunMojo.execute (Jetty6RunMojo.java:184)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source)
at java.lang.reflect.Method.invoke (Unknown Source)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[WARNING] Nested in org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.binding.BindingFactoryManager' defined in class path resource [META-INF/cxf/cxf.xml]: Cannot create inner bean 'org.apache.cxf.configuration.spring.SpringBeanMap#662cb76' of type [org.apache.cxf.configuration.spring.SpringBeanMap] while setting bean property 'mapProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.configuration.spring.SpringBeanMap#662cb76' defined in class path resource [META-INF/cxf/cxf.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.guohualife.ebiz.product.define.service.impl.ElementDefineServiceImpl] for bean with name 'elementDefineServiceImpl' defined in file [C:\Users\Administrator\Desktop\01 code\E-commerce-old\product\product\target\classes\com\guohualife\ebiz\product\define\service\impl\ElementDefineServiceImpl.class]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com/guohualife/ebiz/product/define/service/ElementDefineService:
java.lang.ClassNotFoundException: com.guohualife.ebiz.product.define.service.ElementDefineService
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass (SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass (ClassRealm.java:271)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (ClassRealm.java:247)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (ClassRealm.java:239)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass (WebAppClassLoader.java:375)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass (WebAppClassLoader.java:337)
at java.lang.ClassLoader.defineClass1 (Native Method)
at java.lang.ClassLoader.defineClass (Unknown Source)
at java.security.SecureClassLoader.defineClass (Unknown Source)
at java.net.URLClassLoader.defineClass (Unknown Source)
at java.net.URLClassLoader.access$100 (Unknown Source)
at java.net.URLClassLoader$1.run (Unknown Source)
at java.net.URLClassLoader$1.run (Unknown Source)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass (Unknown Source)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass (WebAppClassLoader.java:366)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass (WebAppClassLoader.java:337)
at org.springframework.util.ClassUtils.forName (ClassUtils.java:211)
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass (AbstractBeanDefinition.java:385)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass (AbstractBeanFactory.java:1138)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType (AbstractAutowireCapableBeanFactory.java:524)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean (AbstractBeanFactory.java:1177)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType (DefaultListableBeanFactory.java:222)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType (DefaultListableBeanFactory.java:202)
at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType (AbstractApplicationContext.java:933)
at org.apache.cxf.configuration.spring.SpringBeanMap.processBeans (SpringBeanMap.java:45)
at org.apache.cxf.configuration.spring.AbstractSpringBeanMap.afterPropertiesSet (AbstractSpringBeanMap.java:55)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods (AbstractAutowireCapableBeanFactory.java:1369)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean (AbstractAutowireCapableBeanFactory.java:1335)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run (AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged (Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean (BeanDefinitionValueResolver.java:219)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary (BeanDefinitionValueResolver.java:117)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues (AbstractAutowireCapableBeanFactory.java:1245)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean (AbstractAutowireCapableBeanFactory.java:1010)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:472)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run (AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged (Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject (AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton (DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons (DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization (AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:380)
at org.springframework.web.context.ContextLoader.createWebApplicationContext (ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext (ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized (ContextLoaderListener.java:45)
at org.mortbay.jetty.handler.ContextHandler.startContext (ContextHandler.java:540)
at org.mortbay.jetty.servlet.Context.startContext (Context.java:135)
at org.mortbay.jetty.webapp.WebAppContext.startContext (WebAppContext.java:1220)
at org.mortbay.jetty.handler.ContextHandler.doStart (ContextHandler.java:510)
at org.mortbay.jetty.webapp.WebAppContext.doStart (WebAppContext.java:448)
at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart (Jetty6PluginWebAppContext.java:110)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart (HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart (ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart (HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerWrapper.doStart (HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart (Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:39)
at org.mortbay.jetty.plugin.Jetty6PluginServer.start (Jetty6PluginServer.java:132)
at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty (AbstractJettyMojo.java:371)
at org.mortbay.jetty.plugin.AbstractJettyMojo.execute (AbstractJettyMojo.java:307)
at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute (AbstractJettyRunMojo.java:203)
at org.mortbay.jetty.plugin.Jetty6RunMojo.execute (Jetty6RunMojo.java:184)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source)
at java.lang.reflect.Method.invoke (Unknown Source)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[INFO] Started SelectChannelConnector@0.0.0.0:8888
[INFO] Started Jetty Server
[INFO] Starting scanner at interval of 2 seconds.

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
service层报错记录
1. 忘记添加注解@Service Description: Field RiskService in com.yizhihui.controller.CreateCsvController required a bean of  type 'com.yizhihui.service.RiskAsesmtService' that could not be found. 添加上注解就o...
使用Jetty启动maven项目访问报错503
 maven项目使用Jetty启动成功,控制台没有错误输出,但是通用浏览器访问项目返回错误代码503.找了老半天也没找到问题在哪.(其实可以在ContextLoaderListener.class中打断点,看初始化容器哪出错了)  最后将项目打包扔进tomcat容器启动看看, 结果发现tomcat启动失败, 查看日志,出现报错信息: 原来代码中使用了@Resource注解, 而并未设置...
关于maven项目启动jetty报错的解决方法
刚接触maven项目,按照老师的步骤,使用jetty plugin进行部署,运行jetty:run命令的时候,控制台出现如下异常信息: 2019-02-27 18:27:13.716::WARN: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@480457{/bb,/webapp} java.io.FileNot...
解决maven项目jsp页面报错
错误描述如图 解决方法: 在mavenReposity仓库中搜索servlet  找到以下版本配置复制项目的pom.xml中                 javax.servlet             javax.servlet-api              3.1.0               provided
maven项目配置jetty
在maven项目的pom.xml中配置如下(格式化不了,将就着看吧):<plugins> <plugin> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <version&gt
jetty在eclipse下运行maven项目
心血来潮,想折腾一下在jetty容器中运行maven项目,其实配置啥的都简单,关于jetty是什么我就不多说的,百度一大把啦!
Maven项目使用Jetty插件
之前使用过内嵌的tomcat,需要自己制作启动类,然后放到maven仓库,在加到工程里,现在发现jetty有现成的插件可以使用。。。 org.mortbay.jetty maven-jetty-plugin 6.1.26 8080 300
Maven项目的jetty调试
1 环境和条件 Maven-3.0.3 Eclipse 请阅读者事先具备一定maven知识 2 配置 2.1 添加Jetty插件 在pom.xml中加入如下代码段     org.mortbay.jetty     jetty-maven-plugin     7.0.1.v20091125           /             2.2 配置ec
Maven项目的搭建过程+jetty
公司近期需要做Maven项目,自己之前没有怎么接触过Maven,搞了一天,基本算搞好了。下面我分享一下我自己配置的Maven项目的过程。大概分为几个步骤。 PS:在说明之前,大概先说一下我的配置吧。JDK版本是1.8的,jetty版本是9.4.6的。eclipse也更新到4.4.2. 这些都可以在网上下到。好了。我说一下我的配置流程吧。第一步:配置Jdk,下载jetty,更新eclipse
Vue添加中间层--service层
Vue添加中间层–service层 在单页面应用中,为了方便代码的管理,提高可读性,还有一个原因就是,在项目开发工程中,前端人员与后端开发人员的进程是不同步的,在不同步的情况下,前端人员会使用假数据来模拟后端传送过来的数据,为了节省后期联调的时间,所以把service引入到了vue中。 service层 service层主要是新建一个js文件,用来写用到的方法。 import axios from...
解决maven项目导入报错的问题
从一个台计算上拷贝一个项目到另一台计算机 或者从githup等克隆项目到计算机, 通常都会报错误 引起错误的原因一般是jar包的问题 经过试验, 本人从其它电脑拷贝一个maven项目到本机, 报了好多错误 1.更新项目 遇到错误, 通常需要更新一下项目, 有时一更新就不报错误了 还是有错误, 不能解决, 注意更新选项, 在这里打上勾:    2.查找具体错误地方 如果还是有错...
解决:新建maven项目jsp报错
原因:新建的这种报错应该是新建的maven项目的pom.xml配置文件中缺少servlet api依赖导致的 解决:需要在pom中添加servlet依赖 1、进入maven的中央仓库:http://www.mvnrepository.com/search?q=servlet ,点击java servlet api 进去后选择3.0.1 复制下其maven坐标     javax.ser
maven项目Service方法继承BasicAjaxRpcRemoteService报错
这是service的代码rn```rnpackage com.ssh.service;rnrnimport org.openredhead.springx.core.web.mvc.ajaxrpc.BasicAjaxRpcRemoteService;rnimport org.springframework.stereotype.Service;rnrn@Servicernpublic class AService extends BasicAjaxRpcRemoteService rnrnrn```rn报错内容rn```rn 09:07| WARN | AbstractApplicationContext.java 549 | Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'AService': Unsatisfied dependency expressed through field 'resourceManager'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean found for dependency [org.openredhead.springx.core.server.manager.IBasicResourceManager]: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: @org.springframework.beans.factory.annotation.Autowired(required=true)rn 09:07| ERROR | ContextLoader.java 351 | Context initialization failedrn org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'AService': Unsatisfied dependency expressed through field 'resourceManager'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean found for dependency [org.openredhead.springx.core.server.manager.IBasicResourceManager]: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: @org.springframework.beans.factory.annotation.Autowired(required=true)rn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:569)rn at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)rn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:349)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1219)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:751)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4792)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5256)rn10-Jan-2019 09:07:33.764 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log filern10-Jan-2019 09:07:33.766 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errorsrn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)rn at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1736)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:498)rn at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)rn at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)rn at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)rn at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:483)rn at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:432)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:498)rn at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)rn at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)rn at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)rn at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)rn at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)rn at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)rn at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)rn at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:498)rn at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)rn at sun.rmi.transport.Transport$1.run(Transport.java:200)rn at sun.rmi.transport.Transport$1.run(Transport.java:197)rn at java.security.AccessController.doPrivileged(Native Method)rn at sun.rmi.transport.Transport.serviceCall(Transport.java:196)rn at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)rn at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)rn at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)rn at java.security.AccessController.doPrivileged(Native Method)rn at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)rn at java.lang.Thread.run(Thread.java:748)rnCaused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean found for dependency [org.openredhead.springx.core.server.manager.IBasicResourceManager]: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: @org.springframework.beans.factory.annotation.Autowired(required=true)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1463)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1094)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1056)rn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:566)rn ... 60 morern```
在service层,通过get方法获取到map集合中的值报错
//根据用户的id,查询上级的信息         List> list = mapper.findSuperiorById(userId);                  if (list != null && list.size() > 0) {             //获取上级的设备id             System.out.println(list);     
关于分为web层,接口,还有service层的多个maven项目中,报错Java.lang.NullPointerException
使用断点,进行盘查,进一步查看异常为invocationtargetexception,针对我这个特例发现原因是因为在service层中用了多个mapper文件中的方法,但是只写了一个@Autowired注解,这个搞到我很头疼,特写这个以此告诫大家,千万要记住用几个就要写几个@Autowired注解。...
Maven项目使用Jetty启动之后发生如下错误:
[INFO] Web overrides = none [INFO] web.xml file = null
maven项目下用 jetty 启动热部署
maven的项目用jetty 服务器启动项目时配置此段配置,就可以实现热部署(意思就是eclipse改了代码可以不用重启服务器)
Maven项目修改Jetty的启动端口
本打算使用Jetty绑定8888端口启动,网上的一些文章都介绍使用如下配置: <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <version>6.1.26...
eclipse中jetty的使用——maven项目
eclipse中jetty的使用——maven项目 今天简单了解了如何在eclipse中使用jetty,我用的是maven项目,所以只要导入一个依赖就好,个人感觉还是挺好用的: 添加依赖 ,在pom.xml中添加jetty的依赖: <dependency> <groupId>org.eclipse.jetty</groupId> <artifac...
eclipse使用jetty运行maven项目
主要pom.xml里面配置 <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <version>6.1.26</version> <config
maven项目中jetty运行配置
jetty、java
Eclipse Maven项目中配置Jetty
Eclipse Maven项目中配置Jetty,本工程为maven项目。
Netbeans jetty maven项目调试配置
NULL 博文链接:https://usejava.iteye.com/blog/583067
使用连接池进行maven项目(jetty)
首先,利用连接池来进行数据库的连接,要明白连接池和数据源到底是什么? 连接池:是创建和管理一个连接的缓冲池的技术,这些连接准备好被任何需要它们的线程使用。 1、好处: 对于大多数应用程序,当它们正在处理通常需要数毫秒完成的事务时,仅需要能够访问JDBC连接的 1 个线程。当不处理事务时,这个连接就会闲置。相反,连接池允许闲置的连接被其它需要的线程使用。 1.1 减少连接创建时间 虽然与其...
maven项目中jetty插件的部署
[code="java"] 4.0.0 zhanglong.tutorial zhang_tutorial war 0.0.1-SNAPSHOT zhang_tutorial Maven Webapp http://maven.apache.org junit junit 4.10 test ...
解决Maven项目下添加HttpServletRequest 或 HttpServletResponse需引用的依赖包报错
今天在开发中遇到了一个问题,项目中需要HttpServletRequest  和 HttpServletResponse 但是我项目是用maven启动的,需要手动导入servlet-api.jar包       我开始是这样导入的 javax.servlet javax.servlet-api 3.1.0 但是项目中报了莫名其妙的错误 Caused by: java
maven项目用jetty启动没有问题 用tomcat启动的时候报错
Eclipse中Maven项目无法在Tomcat中运行  1. 出现ClassNotFound异常  看看异常信息,都是Maven依赖包中的类,项目->属性->Deployment Assembly->Add->Java Build Path Entries-> Maven Dependencies -> Finish ->OK  再次运行,OK!  2. 后来在Maven中引入自己开发的工具包(m
Idea从Service层注解报错
Idea从Service层注解报错错误截图解决方法 错误截图 解决方法 QQ1537818158来着不拒
ssm Service层注入报错 求助
SSM service注入报No matching bean of type [cn.zhuxin.ssm.mapper.ItemsMapperCustom] found for dependency: expected at least 1 bean which 检查好几遍 没找到问题 希望大神帮看看 rnrn这个是项目目录[img=https://img-bbs.csdn.net/upload/201704/30/1493526858_973910.png][/img]rnrndao的配置[img=https://img-bbs.csdn.net/upload/201704/30/1493526909_729632.png][/img]rnrnWEB配置 [img=https://img-bbs.csdn.net/upload/201704/30/1493527030_504342.png][/img][img=https://img-bbs.csdn.net/upload/201704/30/1493527036_800686.png][/img]rnrnservice[img=https://img-bbs.csdn.net/upload/201704/30/1493527090_660342.png][/img]rnrncontroller[img=https://img-bbs.csdn.net/upload/201704/30/1493527100_378002.png][/img]rnrn报错信息[img=https://img-bbs.csdn.net/upload/201704/30/1493527135_288034.png][/img]rnrn求大神指点下 万分感谢
service层能不能直接调用service层?
service层能不能直接调用service层?
新建一个不报错的Maven项目
以前刚接触Maven的时候,也是网上找各种教程,有教新建Maven项目的,别人就各种成功,我就各种报错,表示十分不服气,后来摸索出来个简单的方法,一把就成功的: 【IDE:MyEclipse10】 1.右键New->Maven Project 2.勾选Create a simple project(skip archetype selection), (第二项Workspace locat...
新建一个maven项目就报错
[img=https://img-bbs.csdn.net/upload/201706/16/1497608724_741570.png][/img]rneclipse版本:mars.2 release(4.5.2)rnJDK版本:1.8rnMaven版本:3.5.0rn求高手指教!分不够可以再加!
解决GreenDao打包之后报错
 打包混淆问题(打包后的APK,使用不了): 打包后使用不了,debug能使用,很明显,混淆的问题。报错如下:Caused by: org.greenrobot.greendao.DaoException: Could not init DAOConfig at org.greenrobot....
CodeIgniter框架添加service层增强可复用性
在CI框架原有MVC架构模型的基础上,添加一个service层【CI默认没有自动加载机制,通过添加自动加载机制实现】,将重要的业务逻辑放于此,增强代码的可复用性。
如何在App层添加System Service
基本原理就是调用ServiceManager中的接口     /**      * Place a new @a service called @a name into the service      * manager.      *      * @param name the name of the new service      * @param service t
Spring通过AOP在Service层注入用户信息
使用基于注解形式的AOP配置,在Service层或其他层,注入用户登录信息,这样就不需要在用到用户登录信息时总是注入Http相关对象,不用手动setter用户信息,且用户登录信息会随着session失效而自动注销。 . 相关类如下: 相关类说明: AppUserContextConfig:模块的配置类,负责扫描模块的Bean,当需要使用此模块时,用Import(AppUserCont
jetty报错部署
2018-09-15 14:23:34.679:INFO::main: Logging initialized @891ms to org.eclipse.jetty.util.log.StdErrLog 2018-09-15 14:23:35.021:WARN:oejs.HomeBaseWarning:main: This instance of Jetty is not running fro...
使用Jetty启动服务报错
[2011-05-11 08:41:13] runqianReportLogger : [ERROR] - Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initialrnjavax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initialrn at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)rn at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)rn at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:284)rn at javax.naming.InitialContext.lookup(InitialContext.java:351)rn at com.runqian.report4.dataset.JNDIConnectionFactory.(Unknown Source:13)rn at com.runqian.report4.view.ReportServlet._$1(Unknown Source:390)rnrn[code=Java]rnrnublic static void main(String[] args) throws Exception rnrn Server server = new Server();rn Connector connector = new SelectChannelConnector();rn connector.setPort(80); // 设置要监听的端口.rn server.addConnector(connector);rn WebAppContext context = new WebAppContext();rn context.setContextPath("/test"); // 设置上下文路径rn // 设置web应用根路径rn context.setResourceBase("D:/java/workspace/test/WebContent");rn HandlerCollection handlerCollection = new HandlerCollection();rn handlerCollection.addHandler(context);rn server.setHandler(handlerCollection);rn server.start();rnrn rnrn[/code]
spring和springmvc给service层和controller层分别添加事务
第一个:    事务的声明是在spring里面进行声明的. <bean id = "transactionManager" class = "org.springframework.jdbc.datasource.DataSourceTransactionManager"><property name="dataSource" ref="dataSource" />&amp
解决Eclipse建立Maven项目后报错整理
1.刚创建maven项目立马就报错 2.报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path意思就是没有引入servlet-api.jar,这个jar包在tomcat里。 3.解决方法:关联tomcat就好了,tomcat 的jar包也会导入到工程中,也可以手动添加
相关热词 c# stream 复制 android c# c#监测窗口句柄 c# md5 引用 c# 判断tabtip 自己写个浏览器程序c# c# 字符串变成整数数组 c#语言编程写出一个方法 c# 转盘抽奖 c#选中treeview