NutzCN Logo
问答 NUTZWK5.0.3代码生成报错
发布于 2414天前 作者 wx_3un8gefq8c8pul4do54f 1489 次浏览 复制 上一个帖子 下一个帖子
标签:

[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)

2 回复

你是用3.x版本的吧

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