NutzCN Logo
问答 Nboot生成项目的问题
发布于 2587天前 作者 qq_9cb92de7 1097 次浏览 复制 上一个帖子 下一个帖子
标签:

刚开始了解Nutz的小白,望多多指教
我是通过https://get.nutz.io/生成的包直接下载运行的啊???what?????why???

[INFO ] 11:05:48.314 org.nutz.log.impl.Slf4jLogAdapter.canWork(Slf4jLogAdapter.java:21) - Using Slf4jLogger
[INFO ] 11:05:48.421 org.nutz.boot.banner.SimpleBannerPrinter.printBanner(SimpleBannerPrinter.java:34) - 
 _   _ ______                                      ___   
| \ | || ___ \  ______ ______ ______ ______ ______| \ \  
|  \| || |_/ / |______|______|______|______|______| |\ \ 
| . ` || ___ \  ______ ______ ______ ______ ______| | > >
| |\  || |_/ / |______|______|______|______|______| |/ / 
\_| \_/\____/                                     |_/_/  
  
:: Nutz Boot ::   (2.0-SNAPSHOT)
[INFO ] 11:05:48.446 org.nutz.resource.impl.ErrorResourceLocation.<init>(ErrorResourceLocation.java:28) - [loc=F:\java%20Test\springEclipse\eclipse-workspace\demo\target\classes]not exist
[INFO ] 11:05:48.448 org.nutz.resource.impl.ErrorResourceLocation.<init>(ErrorResourceLocation.java:28) - [loc=F:\java%20Test\springEclipse\eclipse-workspace\demo\target\classes]not exist
[DEBUG] 11:05:48.476 org.nutz.resource.Scans.printLocations(Scans.java:527) - Locations count=49 time use 31ms
[DEBUG] 11:05:48.491 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
[DEBUG] 11:05:48.492 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [emtry.json]
[DEBUG] 11:05:48.493 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 0 bean define from path=[ioc/] --> []
[DEBUG] 11:05:48.498 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:40) - Loaded 5 bean define from reader --
[txREPEATABLE_READ, txSERIALIZABLE, txNONE, txREAD_UNCOMMITTED, txREAD_COMMITTED]
[DEBUG] 11:05:48.540 org.nutz.castor.Castors.reload(Castors.java:115) - Using 95 castor for Castors
[DEBUG] 11:05:48.557 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) - Load AopConfigure for anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader
[INFO ] 11:05:48.565 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:50) -  > scan 'io.nutz.demo'
[DEBUG] 11:05:48.569 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( io/nutz/demo/ ) , regex( ^.+[.]class$ )
[INFO ] 11:05:48.577 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'mainLauncher                            ' - io.nutz.demo.MainLauncher
[INFO ] 11:05:48.585 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:50) -  > scan 'org.nutz.boot.starter'
[DEBUG] 11:05:48.589 org.nutz.resource.Scans.scan(Scans.java:280) - Found 11 resource by src( org/nutz/boot/starter/ ) , regex( ^.+[.]class$ )
[INFO ] 11:05:48.600 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'nutFilterStarter                        ' - org.nutz.boot.starter.nutz.mvc.NutFilterStarter
[DEBUG] 11:05:48.602 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : NutFilterStarter.createNutFilter(...) define as name=nutFilter
[INFO ] 11:05:48.607 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'whaleFilterStarter                      ' - org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter
[DEBUG] 11:05:48.607 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : WhaleFilterStarter.createNutFilter(...) define as name=whaleFilter
[INFO ] 11:05:48.608 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'nutDaoStarter                           ' - org.nutz.boot.starter.nutz.dao.NutDaoStarter
[DEBUG] 11:05:48.611 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : NutDaoStarter.getSqlManager(...) define as name=sqlManager
[DEBUG] 11:05:48.611 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : NutDaoStarter.getDao(...) define as name=dao
[INFO ] 11:05:48.616 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:98) - NutIoc init begin ...
[INFO ] 11:05:48.617 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:121) - ... NutIoc init complete
[DEBUG] 11:05:48.617 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'appContext' to [app] 
[DEBUG] 11:05:48.618 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'conf' to [app] 
[DEBUG] 11:05:48.618 org.nutz.boot.NbApp.run(NbApp.java:144) - Found jar:file:/C:/Users/HIAPAD/.m2/repository/org/nutz/nutzboot-starter-jetty/2.0-SNAPSHOT/nutzboot-starter-jetty-2.0-SNAPSHOT.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 11:05:48.618 org.nutz.boot.NbApp.run(NbApp.java:144) - Found jar:file:/C:/Users/HIAPAD/.m2/repository/org/nutz/nutzboot-starter-nutz-mvc/2.0-SNAPSHOT/nutzboot-starter-nutz-mvc-2.0-SNAPSHOT.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 11:05:48.619 org.nutz.boot.NbApp.run(NbApp.java:144) - Found jar:file:/C:/Users/HIAPAD/.m2/repository/org/nutz/nutzboot-starter-nutz-dao/2.0-SNAPSHOT/nutzboot-starter-nutz-dao-2.0-SNAPSHOT.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 11:05:48.625 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get 'nutFilterStarter'<class org.nutz.boot.starter.nutz.mvc.NutFilterStarter>
[DEBUG] 11:05:48.625 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 11:05:48.626 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:183) - 	 >> Load definition name=$aop_async
[DEBUG] 11:05:48.626 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:163) - Found IocObject($aop_async) in AsyncAopIocLoader@1663411182
[DEBUG] 11:05:48.626 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:215) - 	 >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 11:05:48.627 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object '$aop_async' to [app] 
[DEBUG] 11:05:48.629 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
[DEBUG] 11:05:48.629 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:183) - 	 >> Load definition name=nutFilterStarter
[DEBUG] 11:05:48.629 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:163) - Found IocObject(nutFilterStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 11:05:48.629 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:215) - 	 >> Make...'nutFilterStarter'<class org.nutz.boot.starter.nutz.mvc.NutFilterStarter>
[DEBUG] 11:05:48.630 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'nutFilterStarter' to [app] 
[DEBUG] 11:05:48.630 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.nutz.mvc.NutFilterStarter without AOP
[DEBUG] 11:05:48.648 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[DEBUG] 11:05:48.649 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get 'whaleFilterStarter'<class org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter>
[DEBUG] 11:05:48.649 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:183) - 	 >> Load definition name=whaleFilterStarter
[DEBUG] 11:05:48.649 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:163) - Found IocObject(whaleFilterStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 11:05:48.650 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:215) - 	 >> Make...'whaleFilterStarter'<class org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter>
[DEBUG] 11:05:48.650 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'whaleFilterStarter' to [app] 
[DEBUG] 11:05:48.650 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter without AOP
[DEBUG] 11:05:48.655 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[DEBUG] 11:05:48.655 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get 'nutDaoStarter'<class org.nutz.boot.starter.nutz.dao.NutDaoStarter>
[DEBUG] 11:05:48.655 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:183) - 	 >> Load definition name=nutDaoStarter
[DEBUG] 11:05:48.655 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:163) - Found IocObject(nutDaoStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 11:05:48.655 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:215) - 	 >> Make...'nutDaoStarter'<class org.nutz.boot.starter.nutz.dao.NutDaoStarter>
[DEBUG] 11:05:48.656 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'nutDaoStarter' to [app] 
[DEBUG] 11:05:48.656 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.nutz.dao.NutDaoStarter without AOP
[DEBUG] 11:05:48.658 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[INFO ] 11:05:48.673 org.eclipse.jetty.util.log.Log.initialized(Log.java:192) - Logging initialized @584ms to org.eclipse.jetty.util.log.Slf4jLog
[DEBUG] 11:05:48.768 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get 'whaleFilter'<class org.nutz.mvc.WhaleFilter>
[DEBUG] 11:05:48.768 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:183) - 	 >> Load definition name=whaleFilter
[DEBUG] 11:05:48.768 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:163) - Found IocObject(whaleFilter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 11:05:48.768 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:215) - 	 >> Make...'whaleFilter'<class org.nutz.mvc.WhaleFilter>
[DEBUG] 11:05:48.769 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'whaleFilter' to [app] 
[DEBUG] 11:05:48.770 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.mvc.WhaleFilter without AOP
[DEBUG] 11:05:48.771 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get 'whaleFilterStarter'<>
[DEBUG] 11:05:48.773 org.nutz.boot.starter.jetty.JettyStarter.addFilter(JettyStarter.java:188) - add filter name=whale pathSpec=/*
[DEBUG] 11:05:48.774 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get 'whaleFilter'<class org.nutz.mvc.WhaleFilter>
[DEBUG] 11:05:48.777 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get 'nutFilter'<class org.nutz.mvc.NutFilter>
[DEBUG] 11:05:48.777 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:183) - 	 >> Load definition name=nutFilter
[DEBUG] 11:05:48.777 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:163) - Found IocObject(nutFilter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 11:05:48.777 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:215) - 	 >> Make...'nutFilter'<class org.nutz.mvc.NutFilter>
[DEBUG] 11:05:48.778 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'nutFilter' to [app] 
[DEBUG] 11:05:48.778 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.mvc.NutFilter without AOP
[DEBUG] 11:05:48.779 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get 'nutFilterStarter'<>
[DEBUG] 11:05:48.779 org.nutz.boot.starter.jetty.JettyStarter.addFilter(JettyStarter.java:188) - add filter name=nutz pathSpec=/*
[DEBUG] 11:05:48.779 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get 'nutFilter'<class org.nutz.mvc.NutFilter>
[INFO ] 11:05:48.781 org.eclipse.jetty.server.Server.doStart(Server.java:373) - jetty-9.4.7.v20170914
[INFO ] 11:05:48.885 org.eclipse.jetty.annotations.AnnotationConfiguration.scanForAnnotations(AnnotationConfiguration.java:480) - Scanning elapsed time=0ms
[DEBUG] 11:05:48.902 org.eclipse.jetty.apache.jsp.JuliLog.debug(JuliLog.java:101) - addRuleSet() with no namespace URI
[DEBUG] 11:05:48.905 org.eclipse.jetty.apache.jsp.JuliLog.debug(JuliLog.java:101) - addRuleSet() with no namespace URI
[INFO ] 11:05:48.952 org.eclipse.jetty.server.session.DefaultSessionIdManager.doStart(DefaultSessionIdManager.java:364) - DefaultSessionIdManager workerName=node0
[INFO ] 11:05:48.952 org.eclipse.jetty.server.session.DefaultSessionIdManager.doStart(DefaultSessionIdManager.java:369) - No SessionScavenger set, using defaults
[INFO ] 11:05:48.954 org.eclipse.jetty.server.session.HouseKeeper.startScavenging(HouseKeeper.java:149) - Scavenging every 600000ms
[INFO ] 11:05:48.962 org.nutz.mvc.NutFilter._init(NutFilter.java:85) - NutFilter[nutz] starting ...
[DEBUG] 11:05:48.964 org.nutz.resource.Scans.printLocations(Scans.java:527) - Locations count=50 time use 1ms
[DEBUG] 11:05:48.964 org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:66) - Loading by class org.nutz.boot.starter.nutz.mvc.NbMvcLoading
[INFO ] 11:05:48.967 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:55) - Nutz Version : 1.r.65-SNAPSHOT 
[INFO ] 11:05:48.967 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:56) - Nutz.Mvc[nutz] is initializing ...
[DEBUG] 11:05:48.967 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:60) - Web Container Information:
[DEBUG] 11:05:48.967 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:61) -  - Default Charset : UTF-8
[DEBUG] 11:05:48.968 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:62) -  - Current . path  : F:\java Test\springEclipse\eclipse-workspace\demo\.
[DEBUG] 11:05:48.969 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:63) -  - Java Version    : 1.8.0_121
[DEBUG] 11:05:48.969 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:64) -  - File separator  : \
[DEBUG] 11:05:48.969 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:65) -  - Timezone        : Asia/Shanghai
[DEBUG] 11:05:48.969 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:66) -  - OS              : Windows 7 amd64
[DEBUG] 11:05:48.970 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:67) -  - ServerInfo      : jetty/9.4.7.v20170914
[DEBUG] 11:05:48.970 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:68) -  - Servlet API     : 3.1
[DEBUG] 11:05:48.970 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:73) -  - ContextPath     : 
[DEBUG] 11:05:48.970 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:74) -  - context.tempdir : F:\java Test\springEclipse\eclipse-workspace\demo\tmp
[DEBUG] 11:05:48.970 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:75) -  - MainModule      : io.nutz.demo.MainLauncher
[INFO ] 11:05:48.970 org.nutz.mvc.config.AbstractNutConfig.getAppRoot(AbstractNutConfig.java:81) - /WEB-INF/ not Found?!
[DEBUG] 11:05:48.971 org.nutz.mvc.impl.NutLoading.createContext(NutLoading.java:239) - >> app.root = 
[INFO ] 11:05:48.974 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:159) - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
[DEBUG] 11:05:48.975 org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:370) - @Views(DefaultViewMaker.class)
[DEBUG] 11:05:48.979 org.nutz.mvc.impl.NutLoading.createChainMaker(NutLoading.java:267) - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
[DEBUG] 11:05:48.984 org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:158) - module class location 'file:/F:/java%20Test/springEclipse/eclipse-workspace/demo/target/classes/'
[DEBUG] 11:05:48.984 org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:188) -  > scan 'io.nutz.demo'
[DEBUG] 11:05:48.985 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( io/nutz/demo/ ) , regex( ^.+[.]class$ )
[DEBUG] 11:05:48.986 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:203) -    >> add 'io.nutz.demo.MainLauncher'
[DEBUG] 11:05:48.986 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:196) - Use org.nutz.mvc.impl.NutEntryDeterminer as EntryMethodDeterminer
[INFO ] 11:05:48.995 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:72) - Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
[INFO ] 11:05:49.000 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:72) - Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
[DEBUG] 11:05:49.022 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/'                         >> (MainLauncher.java:35).index          : void       | @Ok(->:/index.html) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
[INFO ] 11:05:49.023 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:221) - Found 1 module methods
[DEBUG] 11:05:49.023 org.nutz.mvc.impl.NutLoading.evalLocalization(NutLoading.java:307) - Localization: org.nutz.mvc.impl.NutMessageLoader('msg/')  dft<>
[DEBUG] 11:05:49.027 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( msg/ ) , regex( ^.+[.]properties$ )
[DEBUG] 11:05:49.027 org.nutz.mvc.impl.NutMessageLoader.load(NutMessageLoader.java:27) - Load Messages in 1 resource : [[jar:file:/C:/Users/HIAPAD/.m2/repository/org/nutz/nutzboot-starter-nutz-mvc/2.0-SNAPSHOT/nutzboot-starter-nutz-mvc-2.0-SNAPSHOT.jar!/msg/emtry.properties]]
[DEBUG] 11:05:49.028 org.nutz.mvc.impl.NutMessageLoader.load(NutMessageLoader.java:95) - Message Loaded, size = 1
[INFO ] 11:05:49.030 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:141) - Nutz.Mvc[nutz] is up in 60ms
[INFO ] 11:05:49.030 org.nutz.mvc.NutFilter._init(NutFilter.java:117) - exclusionsPrefix  = ^(/uflo/|/druid/)
[INFO ] 11:05:49.111 org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:788) - Started o.e.j.w.WebAppContext@10d307f1{/,[],AVAILABLE}
[INFO ] 11:05:49.322 org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:286) - Started ServerConnector@6da21078{HTTP/1.1,[http/1.1]}{127.0.0.1:8080}
[INFO ] 11:05:49.322 org.eclipse.jetty.server.Server.doStart(Server.java:441) - Started @1235ms
[DEBUG] 11:05:49.322 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get 'mainLauncher'<class io.nutz.demo.MainLauncher>
[DEBUG] 11:05:49.322 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:183) - 	 >> Load definition name=mainLauncher
[DEBUG] 11:05:49.322 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:163) - Found IocObject(mainLauncher) in AnnotationIocLoader(packages=[io.nutz.demo])
[DEBUG] 11:05:49.322 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:215) - 	 >> Make...'mainLauncher'<class io.nutz.demo.MainLauncher>
[DEBUG] 11:05:49.322 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'mainLauncher' to [app] 
[DEBUG] 11:05:49.323 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class io.nutz.demo.MainLauncher without AOP
[DEBUG] 11:05:49.324 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:84) - Remove object 'mainLauncher' from [app] 
Exception in thread "main" org.nutz.ioc.IocException: IocBean[mainLauncher] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:150)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:216)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:245)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:152)
	at org.nutz.boot.NbApp.run(NbApp.java:186)
	at io.nutz.demo.MainLauncher.main(MainLauncher.java:38)
Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: Fail to find Method io.nutz.demo.MainLauncher->init with params:
[]
	at org.nutz.lang.Lang.wrapThrow(Lang.java:185)
	at org.nutz.ioc.impl.ObjectMakerImpl.createTrigger(ObjectMakerImpl.java:175)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:108)
	... 5 more
Caused by: java.lang.NoSuchMethodException: Fail to find Method io.nutz.demo.MainLauncher->init with params:
[]
	at org.nutz.lang.Mirror.findMethod(Mirror.java:1179)
	at org.nutz.ioc.impl.ObjectMakerImpl.createTrigger(ObjectMakerImpl.java:172)
	... 6 more

3 回复

我缺少什么依赖吗

Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: Fail to find Method io.nutz.demo.MainLauncher->init with params:
[]
	at org.nutz.lang.Lang.wrapThrow(Lang.java:185)
	at org.nutz.ioc.impl.ObjectMakerImpl.createTrigger(ObjectMakerImpl.java:175)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:108)
	... 5 more
Caused by: java.lang.NoSuchMethodException: Fail to find Method io.nutz.demo.MainLauncher->init with params:
[]
	at org.nutz.lang.Mirror.findMethod(Mirror.java:1179)
	at org.nutz.ioc.impl.ObjectMakerImpl.createTrigger(ObjectMakerImpl.java:172)
	... 6 more

看来有bug, 待我看一眼

已修正,多谢提醒

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