[DEBUG] 17:43:29.645 org.nutz.resource.Scans.printLocations(Scans.java:527) - Locations count=71 time use 77ms
[DEBUG] 17:43:29.655 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( /code/code.json ) , regex( ^(.+[.])(js|json)$ )
[DEBUG] 17:43:29.655 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:49) - loading [code.json]
[DEBUG] 17:43:29.668 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:57) - Loaded 1 bean define from path=[/code/code.json] --> [loader]
[INFO ] 17:43:29.683 org.nutz.ioc.impl.NutIoc.(NutIoc.java:130) - ... NutIoc init complete
[DEBUG] 17:43:29.684 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'loader'<class cn.enilu.common.code.Loader>
[DEBUG] 17:43:29.686 org.nutz.ioc.aop.SimpleAopMaker.(SimpleAopMaker.java:79) - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
[DEBUG] 17:43:29.687 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=loader
[DEBUG] 17:43:29.690 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject(loader) in JsonLoader(paths=[/code/code.json])
[DEBUG] 17:43:29.690 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'loader'<class cn.enilu.common.code.Loader>
[DEBUG] 17:43:29.691 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'loader' to [app]
[DEBUG] 17:43:29.693 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class cn.enilu.common.code.EntityDescLoader without AOP
Exception in thread "main" java.lang.NullPointerException
at cn.enilu.common.code.EntityDescLoader.loadTables(EntityDescLoader.java:28)
at cn.enilu.common.code.Generator.main(Generator.java:154)
添加回复
请先登陆