我在idea引入了pom
<dependency>
<groupId>cn.enilu.tools</groupId>
<artifactId>nutzwk-code-generator</artifactId>
<version>1.2</version>
</dependency>
但是我在idea中配置好要生成代码 报了如下错误
java.lang.RuntimeException: folder or file like '^(.+[.])(js|json)$' no found in /code/code.json
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:990)
at org.nutz.lang.Lang.makeThrow(Lang.java:121)
at org.nutz.resource.Scans.loadResource(Scans.java:86)
at org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:45)
at cn.enilu.common.code.Generator.main(Generator.java:152)