NutzCN Logo
问答 用自动产生代码 的plugin 报错
发布于 2225天前 作者 qq_014c3fb0 1778 次浏览 复制 上一个帖子 下一个帖子
标签:

Connected to the target VM, address: '127.0.0.1:29207', transport: 'socket'
[DEBUG] 14:28:20.189 org.nutz.resource.Scans.printLocations(Scans.java:527) - Locations count=80 time use 149ms
[DEBUG] 14:28:20.203 org.nutz.resource.Scans.scan(Scans.java:280) - Found 0 resource by src( /code/code.json ) , regex( ^(.+[.])(js|json)$ )
[DEBUG] 14:28:20.298 org.nutz.castor.Castors.reload(Castors.java:115) - Using 95 castor for Castors
Exception in thread "main" java.lang.RuntimeException: folder or file like '^(.+[.])(js|json)$' no found in /code/code.json
at org.nutz.lang.Lang.makeThrow(Lang.java:152)
at org.nutz.resource.Scans.loadResource(Scans.java:112)
at org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:45)
at cn.enilu.common.code.Generator.main(Generator.java:152)
Disconnected from the target VM, address: '127.0.0.1:29207', transport: 'socket'

Process finished with exit code 1

6 回复

从nutzwk源码里面安装的?

从nutzwk源码中最版下的,我在mac中是可以产生的(之前的几个版本),但在windows下最新版本就不能用了,报以上的错误

对照一下说明看看吧

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