NutzCN Logo
问答 jetty 启动 nutzcn error
发布于 2850天前 作者 Rekoe 1900 次浏览 复制 上一个帖子 下一个帖子
标签:
22:03:36.225 DEBUG (ScopeContext.java:84) remove - Remove object 'dataSource' from [app] 
22:03:36.226 DEBUG (ScopeContext.java:84) remove - Remove object 'dao' from [app] 
22:03:36.226 ERROR (Hotplug.java:308) setupInit - fail at hotplug name=core
22:03:36.226 ERROR (NutLoading.java:125) load - Error happend during start serivce!
java.lang.RuntimeException: org.nutz.ioc.IocException: [dao, dataSource] # FAIL to create Ioc Bean name=[dataSource]
	at org.nutz.plugins.hotplug.Hotplug.setupInit(Hotplug.java:309) ~[nutz-plugins-hotplug-1.r.61-SNAPSHOT.jar:?]
	at net.wendal.nutzbook.web.MainSetup.init(MainSetup.java:26) ~[classes/:?]
	at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:274) ~[nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:121) [nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at org.nutz.plugins.hotplug.Hotplug.load(Hotplug.java:113) [nutz-plugins-hotplug-1.r.61-SNAPSHOT.jar:?]
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19) [nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at org.nutz.mvc.NutFilter._init(NutFilter.java:87) [nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at org.nutz.mvc.NutFilter.init(NutFilter.java:65) [nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) [jetty-6.1.26.jar:6.1.26]
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.26.jar:6.1.26]
	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713) [jetty-6.1.26.jar:6.1.26]
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) [jetty-6.1.26.jar:6.1.26]
	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282) [jetty-6.1.26.jar:6.1.26]
	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518) [jetty-6.1.26.jar:6.1.26]
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499) [jetty-6.1.26.jar:6.1.26]
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.26.jar:6.1.26]
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.26.jar:6.1.26]
	at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.26.jar:6.1.26]
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.26.jar:6.1.26]
	at runjettyrun.Bootstrap.main(Bootstrap.java:97) [bootstrap.jar:?]
Caused by: org.nutz.ioc.IocException: [dao, dataSource] # FAIL to create Ioc Bean name=[dataSource]
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149) ~[nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210) ~[nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24) ~[nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:75) ~[nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210) ~[nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239) ~[nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:146) ~[nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at net.wendal.nutzbook.core.CoreMainSetup.init(CoreMainSetup.java:72) ~[nutzcn-core-3.0.2-SNAPSHOT.jar:3.0.2-SNAPSHOT]
	at org.nutz.plugins.hotplug.Hotplug.setupInit(Hotplug.java:276) ~[nutz-plugins-hotplug-1.r.61-SNAPSHOT.jar:?]
	at org.nutz.plugins.hotplug.Hotplug.abc(Hotplug.java:374) ~[nutz-plugins-hotplug-1.r.61-SNAPSHOT.jar:?]
	at org.nutz.plugins.hotplug.Hotplug.setupInit(Hotplug.java:305) ~[nutz-plugins-hotplug-1.r.61-SNAPSHOT.jar:?]
	... 19 more
Caused by: java.lang.NullPointerException
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:307) ~[?:1.8.0_72]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_72]
	at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:378) ~[jetty-6.1.26.jar:6.1.26]
	at runjettyrun.ProjectClassLoader.loadClass(ProjectClassLoader.java:89) ~[bootstrap.jar:?]
	at com.alibaba.druid.util.JdbcUtils.createDriver(JdbcUtils.java:559) ~[druid-1.0.27.jar:1.0.27]
	at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:642) ~[druid-1.0.27.jar:1.0.27]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_72]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_72]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_72]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_72]
	at org.nutz.ioc.trigger.MethodEventTrigger.trigger(MethodEventTrigger.java:18) ~[nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:72) ~[nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138) ~[nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210) ~[nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24) ~[nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:75) ~[nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210) ~[nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239) ~[nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:146) ~[nutz-1.r.61-SNAPSHOT.jar:1.r.61-SNAPSHOT]
	at net.wendal.nutzbook.core.CoreMainSetup.init(CoreMainSetup.java:72) ~[nutzcn-core-3.0.2-SNAPSHOT.jar:3.0.2-SNAPSHOT]
	at org.nutz.plugins.hotplug.Hotplug.setupInit(Hotplug.java:276) ~[nutz-plugins-hotplug-1.r.61-SNAPSHOT.jar:?]
	at org.nutz.plugins.hotplug.Hotplug.abc(Hotplug.java:374) ~[nutz-plugins-hotplug-1.r.61-SNAPSHOT.jar:?]
	at org.nutz.plugins.hotplug.Hotplug.setupInit(Hotplug.java:305) ~[nutz-plugins-hotplug-1.r.61-SNAPSHOT.jar:?]
	... 19 more
22:03:36.230 ERROR (NutLoading.java:127) load - try to depose ioc
22:03:36.230 INFO  (NutIoc.java:255) depose - org.nutz.ioc.impl.NutIoc@82825098 is closing. startup date [17-03-04 22:03:35.720]
2 回复

jetty 6就算了吧

at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:378) ~[jetty-6.1.26.jar:6.1.26]

换9M3 好了

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