开发者社区> 问答> 正文

Nutz 的一个问题,大神进?报错

下了一个nutz的 例子Rk_Cms ,

但是里面的Cnd.NEW().limit(10).asc("order")报错The method NEW() is undefined for the type Cnd。。。


org.nutz.lang.Files 

Files.readLine(Files.findFile(proFile), new Callback<String>() {
@Override
public void invoke(String str) {
urls.add(str);
}
});

报错The method Files。readLine(File, new Callback<String>(){}) is undefined for the type Files


展开
收起
爱吃鱼的程序员 2020-06-22 11:05:17 429 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    Cnd.NEW()是1.b.50的方法你可以改成((Cnd)Cnd.orderBy()). limit(10).asc("order")

    谢谢,原来是新的。。。Files.readLine也是新的方法
    2020-06-22 11:05:36
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载