NutzCN Logo
问答 有没有nutz整合quartz的完整教程?
发布于 2693天前 作者 wx_lvagjphruc7ojf8f88jj 1737 次浏览 复制 上一个帖子 下一个帖子
标签:

有没有nutz整合quartz的完整教程?

12 回复

看过nutzbook吗? 里面有

您指的是帮助文档还是源码?

我这边启动的时候显示读取了cron.properties和quartz.properties,但是quartz的定时任务没有启动

cron.properties没写对?

cron.pkgs=com.saicfc.ghd.quartz
cron.com.saicfc.ghd.quartz.ScanSwitchJob=5 0 0 * * ?

日志贴一下看看

"C:\Program Files\Java\jdk1.8.0_60\bin\java" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:57451,suspend=y,server=n -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_60\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_60\jre\lib\rt.jar;D:\框架代码\dubbo-demos\spa\ghd-bg\target\classes;C:\Users\moji.m2\repository\org\nutz\nutz\1.r.62\nutz-1.r.62.jar;C:\Users\moji.m2\repository\org\nutz\nutz-integration-quartz\1.r.60.r2\nutz-integration-quartz-1.r.60.r2.jar;C:\Users\moji.m2\repository\org\jsoup\jsoup\1.10.2\jsoup-1.10.2.jar;C:\Users\moji.m2\repository\org\apache\logging\log4j\log4j-core\2.8.2\log4j-core-2.8.2.jar;C:\Users\moji.m2\repository\org\apache\logging\log4j\log4j-api\2.8.2\log4j-api-2.8.2.jar;C:\Users\moji.m2\repository\org\slf4j\slf4j-api\1.7.24\slf4j-api-1.7.24.jar;C:\Users\moji.m2\repository\com\alibaba\fastjson\1.2.34\fastjson-1.2.34.jar;C:\Users\moji.m2\repository\com\saicfc\themis\themis-api-client\1.0-SNAPSHOT\themis-api-client-1.0-20170331.014941-40.jar;C:\Users\moji.m2\repository\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;C:\Users\moji.m2\repository\org\apache\logging\log4j\log4j-1.2-api\2.6.2\log4j-1.2-api-2.6.2.jar;C:\Users\moji.m2\repository\org\apache\logging\log4j\log4j-jcl\2.6.2\log4j-jcl-2.6.2.jar;C:\Users\moji.m2\repository\org\apache\logging\log4j\log4j-web\2.6.2\log4j-web-2.6.2.jar;C:\Users\moji.m2\repository\com\lmax\disruptor\3.3.2\disruptor-3.3.2.jar;C:\Users\moji.m2\repository\org\apache\httpcomponents\httpclient\4.5.3\httpclient-4.5.3.jar;C:\Users\moji.m2\repository\org\apache\httpcomponents\httpcore\4.4.6\httpcore-4.4.6.jar;C:\Users\moji.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;C:\Users\moji.m2\repository\commons-codec\commons-codec\1.9\commons-codec-1.9.jar;C:\Users\moji.m2\repository\org\apache\httpcomponents\httpmime\4.3.6\httpmime-4.3.6.jar;D:\框架代码\dubbo-demos\spa\sp-common\target\classes;C:\Users\moji.m2\repository\com\alibaba\druid\1.0.13\druid-1.0.13.jar;C:\Program Files\Java\jdk1.8.0_60\lib\jconsole.jar;C:\Program Files\Java\jdk1.8.0_60\lib\tools.jar;C:\Users\moji.m2\repository\org\codehaus\janino\janino\2.7.8\janino-2.7.8.jar;C:\Users\moji.m2\repository\org\codehaus\janino\commons-compiler\2.7.8\commons-compiler-2.7.8.jar;C:\Users\moji.m2\repository\commons-lang\commons-lang\2.4\commons-lang-2.4.jar;C:\Users\moji.m2\repository\commons-digester\commons-digester\1.8\commons-digester-1.8.jar;C:\Users\moji.m2\repository\asm\asm\3.1\asm-3.1.jar;C:\Users\moji.m2\repository\junit\junit\4.12\junit-4.12.jar;C:\Users\moji.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\moji.m2\repository\redis\clients\jedis\2.9.0\jedis-2.9.0.jar;C:\Users\moji.m2\repository\ch\qos\logback\logback-classic\1.1.6\logback-classic-1.1.6.jar;C:\Users\moji.m2\repository\ch\qos\logback\logback-core\1.1.6\logback-core-1.1.6.jar;C:\Users\moji.m2\repository\ch\qos\logback\logback-access\1.1.6\logback-access-1.1.6.jar;C:\Users\moji.m2\repository\biz\paluch\logging\logstash-gelf\1.11.0\logstash-gelf-1.11.0.jar;C:\Users\moji.m2\repository\net\logstash\logback\logstash-logback-encoder\4.7\logstash-logback-encoder-4.7.jar;C:\Users\moji.m2\repository\org\apache\commons\commons-io\1.3.2\commons-io-1.3.2.jar;C:\Users\moji.m2\repository\com\smoketurner\dropwizard-swagger\1.0.0-rc2-1\dropwizard-swagger-1.0.0-rc2-1.jar;C:\Users\moji.m2\repository\io\dropwizard\dropwizard-core\1.0.0-rc2\dropwizard-core-1.0.0-rc2.jar;C:\Users\moji.m2\repository\io\dropwizard\dropwizard-util\1.0.0-rc2\dropwizard-util-1.0.0-rc2.jar;C:\Users\moji.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.7.3\jackson-annotations-2.7.3.jar;C:\Users\moji.m2\repository\com\google\guava\guava\19.0\guava-19.0.jar;C:\Users\moji.m2\repository\com\google\code\findbugs\jsr305\3.0.1\jsr305-3.0.1.jar;C:\Users\moji.m2\repository\joda-time\joda-time\2.9.2\joda-time-2.9.2.jar;C:\Users\moji.m2\repository\io\dropwizard\dropwizard-jackson\1.0.0-rc2\dropwizard-jackson-1.0.0-rc2.jar;C:\Users\moji.m2\repository\com\fasterxml\jackson\core\jackson-core\2.7.3\jackson-core-2.7.3.jar;C:\Users\moji.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.7.3\jackson-databind-2.7.3.jar;C:\Users\moji.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-guava\2.7.3\jackson-datatype-guava-2.7.3.jar;C:\Users\moji.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.7.3\jackson-datatype-jsr310-2.7.3.jar;C:\Users\moji.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.7.3\jackson-datatype-jdk8-2.7.3.jar;C:\Users\moji.m2\repository\com\fasterxml\jackson\module\jackson-module-afterburner\2.7.3\jackson-module-afterburner-2.7.3.jar;C:\Users\moji.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-joda\2.7.3\jackson-datatype-joda-2.7.3.jar;C:\Users\moji.m2\repository\io\dropwizard\dropwizard-validation\1.0.0-rc2\dropwizard-validation-1.0.0-rc2.jar;C:\Users\moji.m2\repository\org\glassfish\javax.el\3.0.0\javax.el-3.0.0.jar;C:\Users\moji.m2\repository\io\dropwizard\dropwizard-configuration\1.0.0-rc2\dropwizard-configuration-1.0.0-rc2.jar;C:\Users\moji.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.7.3\jackson-dataformat-yaml-2.7.3.jar;C:\Users\moji.m2\repository\org\yaml\snakeyaml\1.15\snakeyaml-1.15.jar;C:\Users\moji.m2\repository\org\apache\commons\commons-lang3\3.4\commons-lang3-3.4.jar;C:\Users\moji.m2\repository\io\dropwizard\dropwizard-logging\1.0.0-rc2\dropwizard-logging-1.0.0-rc2.jar;C:\Users\moji.m2\repository\io\dropwizard\metrics\metrics-logback\3.1.2\metrics-logback-3.1.2.jar;C:\Users\moji.m2\repository\org\slf4j\jul-to-slf4j\1.7.18\jul-to-slf4j-1.7.18.jar;C:\Users\moji.m2\repository\org\slf4j\jcl-over-slf4j\1.7.18\jcl-over-slf4j-1.7.18.jar;C:\Users\moji.m2\repository\org\eclipse\jetty\jetty-util\9.3.8.v20160314\jetty-util-9.3.8.v20160314.jar;C:\Users\moji.m2\repository\io\dropwizard\dropwizard-metrics\1.0.0-rc2\dropwizard-metrics-1.0.0-rc2.jar;C:\Users\moji.m2\repository\io\dropwizard\dropwizard-jersey\1.0.0-rc2\dropwizard-jersey-1.0.0-rc2.jar;C:\Users\moji.m2\repository\org\glassfish\jersey\core\jersey-server\2.22.2\jersey-server-2.22.2.jar;C:\Users\moji.m2\repository\org\glassfish\jersey\core\jersey-client\2.22.2\jersey-client-2.22.2.jar;C:\Users\moji.m2\repository\org\glassfish\jersey\media\jersey-media-jaxb\2.22.2\jersey-media-jaxb-2.22.2.jar;C:\Users\moji.m2\repository\org\glassfish\jersey\ext\jersey-metainf-services\2.22.2\jersey-metainf-services-2.22.2.jar;C:\Users\moji.m2\repository\org\glassfish\jersey\ext\jersey-bean-validation\2.22.2\jersey-bean-validation-2.22.2.jar;C:\Users\moji.m2\repository\io\dropwizard\metrics\metrics-jersey2\3.1.2\metrics-jersey2-3.1.2.jar;C:\Users\moji.m2\repository\com\fasterxml\jackson\jaxrs\jackson-jaxrs-json-provider\2.7.3\jackson-jaxrs-json-provider-2.7.3.jar;C:\Users\moji.m2\repository\com\fasterxml\jackson\jaxrs\jackson-jaxrs-base\2.7.3\jackson-jaxrs-base-2.7.3.jar;C:\Users\moji.m2\repository\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.7.3\jackson-module-jaxb-annotations-2.7.3.jar;C:\Users\moji.m2\repository\org\glassfish\jersey\containers\jersey-container-servlet\2.22.2\jersey-container-servlet-2.22.2.jar;C:\Users\moji.m2\repository\org\glassfish\jersey\containers\jersey-container-servlet-core\2.22.2\jersey-container-servlet-core-2.22.2.jar;C:\Users\moji.m2\repository\org\eclipse\jetty\jetty-server\9.3.8.v20160314\jetty-server-9.3.8.v20160314.jar;C:\Users\moji.m2\repository\javax\servlet\javax.servlet-api\3.1.0\javax.servlet-api-3.1.0.jar;C:\Users\moji.m2\repository\org\eclipse\jetty\jetty-io\9.3.8.v20160314\jetty-io-9.3.8.v20160314.jar;C:\Users\moji.m2\repository\org\eclipse\jetty\jetty-webapp\9.3.8.v20160314\jetty-webapp-9.3.8.v20160314.jar;C:\Users\moji.m2\repository\org\eclipse\jetty\jetty-xml\9.3.8.v20160314\jetty-xml-9.3.8.v20160314.jar;C:\Users\moji.m2\repository\org\eclipse\jetty\jetty-continuation\9.3.8.v20160314\jetty-continuation-9.3.8.v20160314.jar;C:\Users\moji.m2\repository\io\dropwizard\dropwizard-servlets\1.0.0-rc2\dropwizard-servlets-1.0.0-rc2.jar;C:\Users\moji.m2\repository\io\dropwizard\metrics\metrics-annotation\3.1.2\metrics-annotation-3.1.2.jar;C:\Users\moji.m2\repository\io\dropwizard\dropwizard-jetty\1.0.0-rc2\dropwizard-jetty-1.0.0-rc2.jar;C:\Users\moji.m2\repository\io\dropwizard\metrics\metrics-jetty9\3.1.2\metrics-jetty9-3.1.2.jar;C:\Users\moji.m2\repository\org\eclipse\jetty\jetty-servlet\9.3.8.v20160314\jetty-servlet-9.3.8.v20160314.jar;C:\Users\moji.m2\repository\org\eclipse\jetty\jetty-security\9.3.8.v20160314\jetty-security-9.3.8.v20160314.jar;C:\Users\moji.m2\repository\org\eclipse\jetty\jetty-servlets\9.3.8.v20160314\jetty-servlets-9.3.8.v20160314.jar;C:\Users\moji.m2\repository\org\eclipse\jetty\jetty-http\9.3.8.v20160314\jetty-http-9.3.8.v20160314.jar;C:\Users\moji.m2\repository\io\dropwizard\dropwizard-lifecycle\1.0.0-rc2\dropwizard-lifecycle-1.0.0-rc2.jar;C:\Users\moji.m2\repository\io\dropwizard\metrics\metrics-core\3.1.2\metrics-core-3.1.2.jar;C:\Users\moji.m2\repository\io\dropwizard\metrics\metrics-jvm\3.1.2\metrics-jvm-3.1.2.jar;C:\Users\moji.m2\repository\io\dropwizard\metrics\metrics-servlets\3.1.2\metrics-servlets-3.1.2.jar;C:\Users\moji.m2\repository\io\dropwizard\metrics\metrics-json\3.1.2\metrics-json-3.1.2.jar;C:\Users\moji.m2\repository\io\dropwizard\metrics\metrics-healthchecks\3.1.2\metrics-healthchecks-3.1.2.jar;C:\Users\moji.m2\repository\io\dropwizard\dropwizard-request-logging\1.0.0-rc2\dropwizard-request-logging-1.0.0-rc2.jar;C:\Users\moji.m2\repository\net\sourceforge\argparse4j\argparse4j\0.7.0\argparse4j-0.7.0.jar;C:\Users\moji.m2\repository\org\eclipse\jetty\toolchain\setuid\jetty-setuid-java\1.0.3\jetty-setuid-java-1.0.3.jar;C:\Users\moji.m2\repository\io\dropwizard\dropwizard-assets\1.0.0-rc2\dropwizard-assets-1.0.0-rc2.jar;C:\Users\moji.m2\repository\io\dropwizard\dropwizard-views\1.0.0-rc2\dropwizard-views-1.0.0-rc2.jar;C:\Users\moji.m2\repository\io\dropwizard\dropwizard-views-freemarker\1.0.0-rc2\dropwizard-views-freemarker-1.0.0-rc2.jar;C:\Users\moji.m2\repository\org\glassfish\jersey\media\jersey-media-multipart\2.22.2\jersey-media-multipart-2.22.2.jar;C:\Users\moji.m2\repository\org\glassfish\jersey\core\jersey-common\2.22.2\jersey-common-2.22.2.jar;C:\Users\moji.m2\repository\javax\ws\rs\javax.ws.rs-api\2.0.1\javax.ws.rs-api-2.0.1.jar;C:\Users\moji.m2\repository\javax\annotation\javax.annotation-api\1.2\javax.annotation-api-1.2.jar;C:\Users\moji.m2\repository\org\glassfish\jersey\bundles\repackaged\jersey-guava\2.22.2\jersey-guava-2.22.2.jar;C:\Users\moji.m2\repository\org\glassfish\hk2\hk2-api\2.4.0-b34\hk2-api-2.4.0-b34.jar;C:\Users\moji.m2\repository\org\glassfish\hk2\hk2-utils\2.4.0-b34\hk2-utils-2.4.0-b34.jar;C:\Users\moji.m2\repository\org\glassfish\hk2\external\aopalliance-repackaged\2.4.0-b34\aopalliance-repackaged-2.4.0-b34.jar;C:\Users\moji.m2\repository\org\glassfish\hk2\external\javax.inject\2.4.0-b34\javax.inject-2.4.0-b34.jar;C:\Users\moji.m2\repository\org\glassfish\hk2\hk2-locator\2.4.0-b34\hk2-locator-2.4.0-b34.jar;C:\Users\moji.m2\repository\org\glassfish\hk2\osgi-resource-locator\1.0.1\osgi-resource-locator-1.0.1.jar;C:\Users\moji.m2\repository\org\jvnet\mimepull\mimepull\1.9.6\mimepull-1.9.6.jar;C:\Users\moji.m2\repository\io\swagger\swagger-jersey2-jaxrs\1.5.8\swagger-jersey2-jaxrs-1.5.8.jar;C:\Users\moji.m2\repository\io\swagger\swagger-jaxrs\1.5.8\swagger-jaxrs-1.5.8.jar;C:\Users\moji.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-xml\2.4.5\jackson-dataformat-xml-2.4.5.jar;C:\Users\moji.m2\repository\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;C:\Users\moji.m2\repository\io\swagger\swagger-core\1.5.8\swagger-core-1.5.8.jar;C:\Users\moji.m2\repository\io\swagger\swagger-models\1.5.8\swagger-models-1.5.8.jar;C:\Users\moji.m2\repository\io\swagger\swagger-annotations\1.5.8\swagger-annotations-1.5.8.jar;C:\Users\moji.m2\repository\org\reflections\reflections\0.9.10\reflections-0.9.10.jar;C:\Users\moji.m2\repository\com\google\code\findbugs\annotations\2.0.1\annotations-2.0.1.jar;C:\Users\moji.m2\repository\xml-apis\xml-apis\1.4.01\xml-apis-1.4.01.jar;C:\Users\moji.m2\repository\io\dropwizard\dropwizard-auth\1.0.0-rc2\dropwizard-auth-1.0.0-rc2.jar;C:\Users\moji.m2\repository\com\saicfc\commons\logback-mongo\1.6-SNAPSHOT\logback-mongo-1.6-20170224.004415-2.jar;C:\Users\moji.m2\repository\com\saicfc\commons\toolkit\1.2-SNAPSHOT\toolkit-1.2-20170223.100519-11.jar;C:\Users\moji.m2\repository\org\mongodb\mongo-java-driver\3.4.2\mongo-java-driver-3.4.2.jar;C:\Users\moji.m2\repository\org\mongodb\bson\3.4.2\bson-3.4.2.jar;C:\Users\moji.m2\repository\io\netty\netty-all\4.1.6.Final\netty-all-4.1.6.Final.jar;C:\Users\moji.m2\repository\cn\jpush\api\jpush-client\3.3.0\jpush-client-3.3.0.jar;C:\Users\moji.m2\repository\cn\jpush\api\jiguang-common\1.0.7\jiguang-common-1.0.7.jar;C:\Users\moji.m2\repository\com\squareup\okhttp3\okhttp\3.3.1\okhttp-3.3.1.jar;C:\Users\moji.m2\repository\com\squareup\okio\okio\1.8.0\okio-1.8.0.jar;C:\Users\moji.m2\repository\com\google\code\gson\gson\2.3\gson-2.3.jar;C:\Users\moji.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;C:\Users\moji.m2\repository\commons-dbcp\commons-dbcp\1.2.2\commons-dbcp-1.2.2.jar;C:\Users\moji.m2\repository\commons-pool\commons-pool\1.3\commons-pool-1.3.jar;C:\Users\moji.m2\repository\org\apache\commons\commons-dbcp2\2.0.1\commons-dbcp2-2.0.1.jar;C:\Users\moji.m2\repository\org\apache\commons\commons-pool2\2.2\commons-pool2-2.2.jar;C:\Users\moji.m2\repository\net\sourceforge\jtds\jtds\1.2.4\jtds-1.2.4.jar;C:\Users\moji.m2\repository\commons-beanutils\commons-beanutils\1.8.3\commons-beanutils-1.8.3.jar;C:\Users\moji.m2\repository\com\rabbitmq\amqp-client\3.6.1\amqp-client-3.6.1.jar;D:\框架代码\dubbo-demos\spa\sp-interfaces\target\classes;C:\Users\moji.m2\repository\com\saicfc\serviceModule-api\1.1\serviceModule-api-1.1.jar;C:\Users\moji.m2\repository\org\hibernate\hibernate-validator\5.3.4.Final\hibernate-validator-5.3.4.Final.jar;C:\Users\moji.m2\repository\org\jboss\logging\jboss-logging\3.3.0.Final\jboss-logging-3.3.0.Final.jar;C:\Users\moji.m2\repository\com\fasterxml\classmate\1.3.1\classmate-1.3.1.jar;C:\Users\moji.m2\repository\com\alibaba\dubbo\2.5.3\dubbo-2.5.3.jar;C:\Users\moji.m2\repository\org\javassist\javassist\3.15.0-GA\javassist-3.15.0-GA.jar;C:\Users\moji.m2\repository\org\jboss\netty\netty\3.2.5.Final\netty-3.2.5.Final.jar;C:\Users\moji.m2\repository\com\github\sgroschupf\zkclient\0.1\zkclient-0.1.jar;C:\Users\moji.m2\repository\org\apache\zookeeper\zookeeper\3.3.3\zookeeper-3.3.3.jar;C:\Users\moji.m2\repository\jline\jline\0.9.94\jline-0.9.94.jar;C:\Users\moji.m2\repository\log4j\log4j\1.2.14\log4j-1.2.14.jar;C:\Users\moji.m2\repository\com\saicfc\vfs\rrp\api\rrp-trial-api\1.1\rrp-trial-api-1.1.jar;C:\Users\moji.m2\repository\mysql\mysql-connector-java\5.1.40\mysql-connector-java-5.1.40.jar;C:\Users\moji.m2\repository\com\saicfc\microservice\acp-api\1.0\acp-api-1.0.jar;C:\Users\moji.m2\repository\com\saicfc\microservice\loan-api-common\1.0\loan-api-common-1.0.jar;C:\Users\moji.m2\repository\com\saicfc\microservice\loan-main-api\1.0\loan-main-api-1.0.jar;C:\Users\moji.m2\repository\com\saicfc\microservice\loan-batch-api\1.0\loan-batch-api-1.0.jar;C:\Users\moji.m2\repository\org\freemarker\freemarker\2.3.23\freemarker-2.3.23.jar;C:\Users\moji.m2\repository\org\quartz-scheduler\quartz\2.2.1\quartz-2.2.1.jar;C:\Users\moji.m2\repository\c3p0\c3p0\0.9.1.1\c3p0-0.9.1.1.jar;C:\Users\moji.m2\repository\com\saicfc\crawler\provider\crawler.api\0.0.5\crawler.api-0.0.5.jar;C:\Users\moji.m2\repository\com\saicfc\limit-api\1.1\limit-api-1.1.jar;C:\Users\moji.m2\repository\com\saicfc\customerModule-api\1.4\customerModule-api-1.4.jar;C:\Users\moji.m2\repository\com\saicfc\repayplan-agent\1.4\repayplan-agent-1.4.jar;C:\Users\moji.m2\repository\net\sourceforge\jexcelapi\jxl\2.6.12\jxl-2.6.12.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 15.0.2\lib\idea_rt.jar" com.saicfc.ghd.SpApplyApplication server D:\框架代码\dubbo-demos\spa\ghd-bg\src\main\resources\my.yml
Connected to the target VM, address: '127.0.0.1:57451', transport: 'socket'
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2 internal initialization logging.
INFO [2017-08-08 09:48:57,179] org.eclipse.jetty.util.log: Logging initialized @4074ms
INFO [2017-08-08 09:48:57,344] io.dropwizard.assets.AssetsBundle: Registering AssetBundle with name: swagger-assets for path /swagger-static/*
INFO [2017-08-08 09:48:57,679] org.reflections.Reflections: Reflections took 245 ms to scan 1 urls, producing 191 keys and 316 values
INFO [2017-08-08 09:48:58,206] io.dropwizard.server.ServerFactory: Starting ghd-backgroung
INFO [2017-08-08 09:48:58,218] io.dropwizard.server.SimpleServerFactory: Registering jersey handler with root path prefix: /ghdbg
INFO [2017-08-08 09:48:58,240] io.dropwizard.server.SimpleServerFactory: Registering admin handler with root path prefix: /admin
INFO [2017-08-08 09:48:58,348] org.eclipse.jetty.setuid.SetUIDListener: Opened ghd-backgroung@175581eb{HTTP/1.1,[http/1.1]}{0.0.0.0:8275}
INFO [2017-08-08 09:48:58,351] org.eclipse.jetty.server.Server: jetty-9.3.8.v20160314
级别:INFO 时间:2017-08-08 17:48:59,085
位置:com.saicfc.ghd.managed.IocManaged 81

内容:---------------------10.116.15.229:6379
-------------------------------------------------------

级别:INFO 时间:2017-08-08 17:48:59,172
位置:com.saicfc.ghd.managed.IocManaged 84

内容:init redis client successful...
-------------------------------------------------------

17:48:53,767 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
17:48:53,767 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
17:48:53,768 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.xml]
17:48:53,772 |-INFO in ch.qos.logback.classic.BasicConfigurator@54286339 - Setting up default configuration.
17:48:57,118 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@507f47f9 - Propagating INFO level on Logger[ROOT] onto the JUL framework
17:48:57,134 |-INFO in ch.qos.logback.classic.AsyncAppender[async-console-appender] - Attaching appender named [console-appender] to AsyncAppender.
17:48:57,135 |-INFO in ch.qos.logback.classic.AsyncAppender[async-console-appender] - Setting discardingThreshold to 51
17:48:58,331 |-INFO in io.dropwizard.request.logging.async.AsyncAccessEventAppenderFactory$1[async-console-appender] - Attaching appender named [console-appender] to AsyncAppender.
17:48:58,331 |-INFO in io.dropwizard.request.logging.async.AsyncAccessEventAppenderFactory$1[async-console-appender] - Setting discardingThreshold to 51
17:48:58,994 |-INFO in ch.qos.logback.classic.AsyncAppender[async-console-appender] - Worker thread will flush remaining events before exiting.
17:48:58,995 |-INFO in ch.qos.logback.classic.AsyncAppender[async-console-appender] - Queue flush finished successfully within timeout.
17:48:58,995 |-INFO in ch.qos.logback.classic.jmx.JMXConfigurator(default) - onReset() method called JMXActivator [io.dropwizard:type=Logging]
17:48:59,045 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
17:48:59,047 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Setting ReconfigureOnChangeFilter scanning period to 1 minutes
17:48:59,047 |-INFO in ReconfigureOnChangeFilter{invocationCounter=35} - Will scan for changes in [[D:\config\ghd\logback.xml]] every 60 seconds.
17:48:59,047 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Adding ReconfigureOnChangeFilter as a turbo filter
17:48:59,049 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
17:48:59,049 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
17:48:59,069 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
17:48:59,084 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [com.saicfc.sp.commons.orderlylog.LogQueueManager] to false
17:48:59,084 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - com.saicfc.sp.commons.orderlylog.LogQueueManager level set to INFO
17:48:59,084 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[com.saicfc.sp.commons.orderlylog.LogQueueManager]
17:48:59,084 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [com.saicfc] to false
17:48:59,084 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - com.saicfc level set to INFO
17:48:59,084 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[com.saicfc]
17:48:59,084 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [com.alibaba.druid] to false
17:48:59,085 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - com.alibaba.druid level set to DEBUG
17:48:59,085 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[com.alibaba.druid]
17:48:59,085 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
17:48:59,085 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@6785df10 - Registering current configuration as safe fallback point
17:49:00,762 |-WARN in Logger[druid.sql.Connection] - No appenders present in context [default] for logger [druid.sql.Connection].
17:49:01,019 |-INFO in ch.qos.logback.classic.jmx.JMXConfigurator(default) - onReset() method called JMXActivator [io.dropwizard:type=Logging]
17:49:01,022 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
17:49:01,022 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Setting ReconfigureOnChangeFilter scanning period to 1 minutes
17:49:01,022 |-INFO in ReconfigureOnChangeFilter{invocationCounter=0} - Will scan for changes in [[D:\config\ghd\logback.xml]] every 60 seconds.
17:49:01,022 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Adding ReconfigureOnChangeFilter as a turbo filter
17:49:01,024 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
17:49:01,024 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
17:49:01,024 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
17:49:01,025 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [com.saicfc.sp.commons.orderlylog.LogQueueManager] to false
17:49:01,025 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - com.saicfc.sp.commons.orderlylog.LogQueueManager level set to INFO
17:49:01,025 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[com.saicfc.sp.commons.orderlylog.LogQueueManager]
17:49:01,025 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [com.saicfc] to false
17:49:01,025 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - com.saicfc level set to INFO
17:49:01,025 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[com.saicfc]
17:49:01,025 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [com.alibaba.druid] to false
17:49:01,025 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - com.alibaba.druid level set to DEBUG
17:49:01,025 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[com.alibaba.druid]
17:49:01,025 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
17:49:01,025 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@144440f5 - Registering current configuration as safe fallback point

没有看到读取cron.properties啊, 连nutz的日志都没看到

另外, 用"插入代码或日志片段"的按钮!!

我跟了NutQuartzCronJobFactory的源码,看到cron.properties文件已经读到了,但是在trigger的时候报错了

搞定了,quartz文件写错了

添加回复
请先登陆
回到顶部