Tencent / APIJSON

🏆 实时 零代码、全功能、强安全 ORM 库 🚀 后端接口和文档零代码,前端(客户端) 定制返回 JSON 的数据和结构 🏆 Real-Time coding-free, powerful and secure ORM 🚀 providing APIs and Docs without coding by Backend, and the returned JSON of API can be customized by Frontend(Client) users
http://apijson.cn
Other
17.16k stars 2.15k forks source link

看起来是漏了此处代码 #652

Closed csx-bill closed 7 months ago

csx-bill commented 9 months ago

Description

https://github.com/APIJSON/APIJSON-Demo/blob/master/APIJSON-Java-Server/APIJSONBoot/src/main/java/apijson/demo/DemoParser.java 这个类

image

TommyLemon commented 9 months ago

我这边没报错,运行正常

image

可以试试加上泛型

image
TommyLemon commented 9 months ago

https://github.com/APIJSON/APIJSON-Demo/commit/f8ca8af6f776a4ce3afd233906b05d149947f5e6

csx-bill commented 9 months ago

 在新版本idea确实编译也过不去

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: TommyLemon @.> 发送时间: 2023年12月17日 13:00 收件人: Tencent/APIJSON @.> 抄送: Bill @.>, Author @.> 主题: Re: [Tencent/APIJSON] 看起来是漏了此处代码 (Issue #652)

我这边没报错,运行正常 image.png (view on web)

可以试试加上泛型 image.png (view on web)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

csx-bill commented 9 months ago

拉取最新的代码 image

csx-bill commented 9 months ago

image 注释后,没有这个方法

csx-bill commented 9 months ago

看起来这个版本没有,把代码发布到,tag 源码中看起来是有的, jar 拉下来没有 image

csx-bill commented 9 months ago

以上问题都是这个问题导致,APIJSON 6.3.0 不是最全的代码 我测试了,我自己安装了一个包tag 6.3.0 到本地 就正常了

csx-bill commented 9 months ago

没有理解这个错误是哪里的问题 启动错误日志

开始初始化: Access 权限校验配置 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because "apijson.orm.AbstractVerifier.ACCESS_FAKE_DELETE_MAP" is null at apijson.orm.AbstractSQLConfig.newSQLConfig(AbstractSQLConfig.java:5293) at apijson.framework.APIJSONSQLConfig.newSQLConfig(APIJSONSQLConfig.java:232)

TommyLemon commented 9 months ago

image 注释后,没有这个方法

我这边都正常: JSONRequest.recoverUnderline

image image

JSONResponse.formatUnderline

image image

在 IDEA Settings 勾选 Maven 的 Always update snapshots

image

还不行的话就右键 pom.xml > Maven > Reload Project 试试

image

再不行就重新下载最近完整 Demo 源码试试

TommyLemon commented 7 months ago

这个问题解决了吗?

csx-bill commented 7 months ago

已解决