APIJSON icon indicating copy to clipboard operation
APIJSON copied to clipboard

看起来是漏了此处代码

Open csx-bill opened this issue 2 years ago • 9 comments

Description

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

image

csx-bill avatar Dec 16 '23 16:12 csx-bill

我这边没报错,运行正常 image

可以试试加上泛型 image

TommyLemon avatar Dec 17 '23 05:12 TommyLemon

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

TommyLemon avatar Dec 17 '23 05:12 TommyLemon

 在新版本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 avatar Dec 17 '23 05:12 csx-bill

拉取最新的代码 image

csx-bill avatar Dec 17 '23 13:12 csx-bill

image 注释后,没有这个方法

csx-bill avatar Dec 17 '23 13:12 csx-bill

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

csx-bill avatar Dec 17 '23 13:12 csx-bill

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

csx-bill avatar Dec 17 '23 14:12 csx-bill

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

开始初始化: 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)

csx-bill avatar Dec 17 '23 15:12 csx-bill

image 注释后,没有这个方法

我这边都正常: JSONRequest.recoverUnderline image image

JSONResponse.formatUnderline image image

在 IDEA Settings 勾选 Maven 的 Always update snapshots image

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

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

TommyLemon avatar Dec 19 '23 13:12 TommyLemon

这个问题解决了吗?

TommyLemon avatar Feb 19 '24 01:02 TommyLemon

已解决

csx-bill avatar Feb 19 '24 02:02 csx-bill