Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dahuoyzs/protostuffgenerate
ProtoStuffGenerate
https://github.com/dahuoyzs/protostuffgenerate
Last synced: 7 days ago
JSON representation
ProtoStuffGenerate
- Host: GitHub
- URL: https://github.com/dahuoyzs/protostuffgenerate
- Owner: dahuoyzs
- Created: 2024-05-10T15:23:11.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-17T12:51:23.000Z (6 months ago)
- Last Synced: 2024-05-17T14:04:02.807Z (6 months ago)
- Language: Java
- Size: 9.14 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# ProtoStuff Generate
![](/data/img/protostuff.png)
![](/data/img/img1.png)
![](/data/img/img2.png)
1. Generate standard JavaBean based on proto file
2. Generate a JavaBean with protostuff @Tag annotation based on the proto file
3. Generate a JavaBean with protostuff @Tag annotation based on the proto file
4. Generate a JavaBean (LomBook) with protostuff @Tag annotation based on the proto file Usage: Right click on the proto file, GenJavaBean
1. 根据proto文件生成标准的javaBean
2. 根据proto文件生成带有protostuff @Tag注解的javaBean
3. 根据proto文件生成标准的javaBean(LomBook)
4. 根据proto文件生成带有protostuff @Tag注解的javaBean(LomBook) 用法:右键proto文件,GenJavaBean
#### 常见问题
【错误描述】:Run Configuration Error: No plugin module specified for configuration.
【解决方式】:IDEA里修改项目中和.idea文件同级目录下的.iml文件中的标签中的type属性,将【JAVA_MODULE】改成【PLUGIN_MODULE】。