在Java

时间:2015-07-27 07:07:12

标签: java quartz-scheduler spring-4

首先,我制作一个Java计划并使用Quartz Scheduler按照新计划执行计划工作,并转到SchedulerFactory class < / p>

 SchedulerFactory sf = new StdSchedulerFactory();

初始化然后我得到这个错误,请帮助我做错了。

  

java.lang.SecurityException:class&#34; org.slf4j.Logger&#34;&#34;的签名者信息与同一个包中其他类的签名者信息不匹配       在java.lang.ClassLoader.checkCerts(ClassLoader.java:944)       at java.lang.ClassLoader.preDefineClass(ClassLoader.java:658)       at java.lang.ClassLoader.defineClass(ClassLoader.java:786)       at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)       在org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2895)       在org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1173)       在org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1681)       在org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)       在org.quartz.impl.StdSchedulerFactory。(StdSchedulerFactory.java:274)       at com.ezeon.sch.controller.SchedulerController.saveOrUpDateSchedule(SchedulerController.java:445)       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)       at java.lang.reflect.Method.invoke(Method.java:606)       在org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)       在org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:440)       在org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:428)       在org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)       在org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)       在org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)       在org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838)       在javax.servlet.http.HttpServlet.service(HttpServlet.java:647)       在org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)       在javax.servlet.http.HttpServlet.service(HttpServlet.java:728)       在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)       在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)       在org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)       在org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)       在org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)       在org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)       在org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)       在org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)       在org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)       在org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)       at org.apache.coyote.AbstractProtocol $ AbstractConnectionHandler.process(AbstractProtocol.java:589)       at org.apache.tomcat.util.net.JIoEndpoint $ SocketProcessor.run(JIoEndpoint.java:310)       在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)       at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:615)       在java.lang.Thread.run(Thread.java:724)

0 个答案:

没有答案