buyaopa 发表于 2018-9-6 12:29:49

java.lang.NoClassDefFoundError: org/apache/velocity/context/Context

Quartz scheduler 'schedulerFactory' initialized from an externally provided properties instance. Quartz scheduler version: 2.3.0 JobFactory set to: org.jeecgframework.web.system.sms.util.JQuartzJobFactory@4d204b30 register time task class num is Context initialization failedjava.lang.NoClassDefFoundError: org/apache/velocity/context/Context        at java.lang.Class.getDeclaredConstructors0(Native Method)        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)        at java.lang.Class.getDeclaredConstructors(Class.java:2020)        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:234)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(AbstractAutowireCapableBeanFactory.java:1041)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)        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:229)        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:706)        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)        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.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:953)        at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:558)        at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:918)        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:370)        at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497)        at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459)        at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:848)        at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:287)        at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)        at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:46)        at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:192)        at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:505)        at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:151)        at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180)        at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:447)        at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64)        at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:610)        at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:529)        at org.eclipse.jetty.util.Scanner.scan(Scanner.java:392)        at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313)        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)        at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150)        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java
at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:579)        at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:240)        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)        at org.eclipse.jetty.server.Server.start(Server.java:419)        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)        at org.eclipse.jetty.server.Server.doStart(Server.java:386)        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)        at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1572)        at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1512)        at java.security.AccessController.doPrivileged(Native Method)        at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1511)        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.eclipse.jetty.start.Main.invokeMain(Main.java:220)        at org.eclipse.jetty.start.Main.start(Main.java:486)        at org.eclipse.jetty.start.Main.main(Main.java:77)Caused by: java.lang.ClassNotFoundException: org.apache.velocity.context.Context        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)        at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:565)        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)        ... 62 more
页: [1]
查看完整版本: java.lang.NoClassDefFoundError: org/apache/velocity/context/Context