18-05-02 19:21:57.957 INFO [localhost-startStop-1] Select SystemLog as Nutz.Log implement
18-05-02 19:21:58.074 INFO [localhost-startStop-1] NutFilter[nutz] starting ...
18-05-02 19:21:58.093 DEBUG [localhost-startStop-1] Locations count=4 time use 8ms
18-05-02 19:21:58.096 DEBUG [localhost-startStop-1] Locations count=8 time use 3ms
18-05-02 19:21:58.106 DEBUG [localhost-startStop-1] Loading by class org.nutz.mvc.impl.NutLoading
18-05-02 19:21:58.109 INFO [localhost-startStop-1] Nutz Version : 1.r.65
18-05-02 19:21:58.109 INFO [localhost-startStop-1] Nutz.Mvc[nutz] is initializing ...
18-05-02 19:21:58.109 DEBUG [localhost-startStop-1] Web Container Information:
18-05-02 19:21:58.110 DEBUG [localhost-startStop-1] - Default Charset : UTF-8
18-05-02 19:21:58.110 DEBUG [localhost-startStop-1] - Current . path : D:\eclipse-jee-mars-2-win32-x86_64\eclipse\.
18-05-02 19:21:58.110 DEBUG [localhost-startStop-1] - Java Version : 1.8.0_131
18-05-02 19:21:58.111 DEBUG [localhost-startStop-1] - File separator : \
18-05-02 19:21:58.111 DEBUG [localhost-startStop-1] - Timezone : Asia/Shanghai
18-05-02 19:21:58.111 DEBUG [localhost-startStop-1] - OS : Windows 10 amd64
18-05-02 19:21:58.111 DEBUG [localhost-startStop-1] - ServerInfo : Apache Tomcat/8.0.44
18-05-02 19:21:58.111 DEBUG [localhost-startStop-1] - Servlet API : 3.1
18-05-02 19:21:58.112 DEBUG [localhost-startStop-1] - ContextPath : /nutz
18-05-02 19:21:58.112 DEBUG [localhost-startStop-1] - context.tempdir : H:\workSpace_20180502\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\nutz
18-05-02 19:21:58.112 DEBUG [localhost-startStop-1] - MainModule : demo.hello.MainModule
18-05-02 19:21:58.113 DEBUG [localhost-startStop-1] >> app.root = H:/workSpace_20180502/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/nutz
18-05-02 19:21:58.172 DEBUG [localhost-startStop-1] Using 95 castor for Castors
18-05-02 19:21:58.172 DEBUG [localhost-startStop-1] @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "com.yc", "*tx"],init=[])
18-05-02 19:21:58.213 DEBUG [localhost-startStop-1] Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
18-05-02 19:21:58.213 DEBUG [localhost-startStop-1] loading [dao.js]
18-05-02 19:21:58.216 DEBUG [localhost-startStop-1] Loaded 2 bean define from path=[ioc/] --> [dataSource, dao]
18-05-02 19:21:58.222 INFO [localhost-startStop-1] > scan 'com.yc'
18-05-02 19:21:58.224 DEBUG [localhost-startStop-1] Found 0 resource by src( com/yc/ ) , regex( ^.+[.]class$ )
18-05-02 19:21:58.224 WARN [localhost-startStop-1] NONE @IocBean found!! Check your ioc configure!! packages=[com.yc]
18-05-02 19:21:58.231 INFO [localhost-startStop-1] ... NutIoc init complete
18-05-02 19:21:58.235 INFO [localhost-startStop-1] Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
18-05-02 19:21:58.237 DEBUG [localhost-startStop-1] @Views(DefaultViewMaker.class)
18-05-02 19:21:58.241 DEBUG [localhost-startStop-1] @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
18-05-02 19:21:58.250 DEBUG [localhost-startStop-1] module class location 'file:/H:/workSpace_20180502/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/nutz/WEB-INF/classes/'
18-05-02 19:21:58.250 DEBUG [localhost-startStop-1] > scan 'demo.hello'
18-05-02 19:21:58.251 DEBUG [localhost-startStop-1] Found 2 resource by src( demo/hello/ ) , regex( ^.+[.]class$ )
18-05-02 19:21:58.254 DEBUG [localhost-startStop-1] >> add 'demo.hello.modules.userTest1'
18-05-02 19:21:58.254 DEBUG [localhost-startStop-1] Use org.nutz.mvc.impl.NutEntryDeterminer as EntryMethodDeterminer
18-05-02 19:21:58.268 WARN [localhost-startStop-1] Moudle with @InjectName('userTest1') or @IocBean('userTest1') but no such ioc bean found!! Pls check your ioc configure!!
18-05-02 19:21:58.269 INFO [localhost-startStop-1] Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
18-05-02 19:21:58.279 INFO [localhost-startStop-1] Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
18-05-02 19:21:58.292 DEBUG [localhost-startStop-1] '/test' >> (userTest1.java:16).getObj : Object | @Ok(json ) @Fail(json ) | by 0 Filters | (I:UTF-8/O:UTF-8)
18-05-02 19:21:58.292 INFO [localhost-startStop-1] Found 1 module methods
18-05-02 19:21:58.292 DEBUG [localhost-startStop-1] @Localization not define
18-05-02 19:21:58.294 INFO [localhost-startStop-1] Nutz.Mvc[nutz] is up in 182ms
五月 02, 2018 7:21:58 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-nio-8080"]
五月 02, 2018 7:21:58 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-nio-8009"]
五月 02, 2018 7:21:58 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 1029 ms
问答
新建一个web项目,配置了@IocBy,就@IocBean('userTest1') but no such ioc bean found!!
标签:
无
3 回复
添加回复
请先登陆