我在项目pom.xml直接添加如下依赖:
<dependency>
<groupId>org.nutz</groupId>
<artifactId>nutzboot-starter-quartz</artifactId>
</dependency>
然后启动就报错如下错误:
[ERROR] 09:05:49.792 org.nutz.boot.NbApp.execute(NbApp.java:224) - something happen!!
java.lang.NoClassDefFoundError: org/nutz/integration/quartz/QuartzIocLoader
at org.nutz.boot.starter.quartz.QuartzIocLoaderStarter.getIocLoader(QuartzIocLoaderStarter.java:34)
at org.nutz.boot.NbApp.prepareStarterInstance(NbApp.java:475)
at org.nutz.boot.NbApp.prepare(NbApp.java:320)
at org.nutz.boot.NbApp.execute(NbApp.java:201)
at org.nutz.boot.NbApp.run(NbApp.java:182)
at com.iqingmai.etl.MainLauncher.main(MainLauncher.java:43)
Caused by: java.lang.ClassNotFoundException: org.nutz.integration.quartz.QuartzIocLoader
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
难道还需要再添加一下org.nutz.integration.quartz相关的jar包依赖吗?