Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
csx-bill opened this issue Dec 16, 2023 · 11 comments
Closed

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

csx-bill opened this issue Dec 16, 2023 · 11 comments

Comments

@csx-bill
Copy link
Contributor

Description

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

image

@TommyLemon
Copy link
Collaborator

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

可以试试加上泛型
image

@TommyLemon
Copy link
Collaborator

@csx-bill
Copy link
Contributor Author

csx-bill commented Dec 17, 2023 via email

@csx-bill
Copy link
Contributor Author

拉取最新的代码
image

@csx-bill
Copy link
Contributor Author

image
注释后,没有这个方法

@csx-bill
Copy link
Contributor Author

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

@csx-bill
Copy link
Contributor Author

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

@csx-bill
Copy link
Contributor Author

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

开始初始化: 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
Copy link
Collaborator

image 注释后,没有这个方法

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

JSONResponse.formatUnderline
image
image

在 IDEA Settings 勾选 Maven 的 Always update snapshots
image

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

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

@TommyLemon
Copy link
Collaborator

这个问题解决了吗?

@csx-bill
Copy link
Contributor Author

已解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants