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

协议打jar包后缺少XXX程序包 #27问题类似 #56

Open
csdnjavaWjy opened this issue Jul 2, 2019 · 2 comments
Open

协议打jar包后缺少XXX程序包 #27问题类似 #56

csdnjavaWjy opened this issue Jul 2, 2019 · 2 comments

Comments

@csdnjavaWjy
Copy link

jprotobuf关于预编译的问题
版本信息:
jprotobuf-precompile-1.2.14
jprotobuf-rpc-core-3.5.20

拉下来代码进行跟踪时发现:
1。对于enum类型会让进行构造无参构造器,但是类本身已经声明,--尽量避免扫描enum
2。对于预编译中填写多个package时需要在报名写完后再添加一个 ; 具体原因各位慢慢看源码
eg: com.baidu;;

@csdnjavaWjy
Copy link
Author

加入预编译插件就能解决缺少程序包的问题

@jhunters
Copy link
Collaborator

jhunters commented Jul 3, 2019

1。对于enum类型会让进行构造无参构造器,但是类本身已经声明,--尽量避免扫描enum
这个会加一下过滤控制
2。对于预编译中填写多个package时需要在报名写完后再添加一个 ; 具体原因各位慢慢看源码
eg: com.baidu;;
这个问题不存在呀,如果只配置一个 直接写包名,不用加;

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