Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dahuoyzs/protostuffgenerate

ProtoStuffGenerate
https://github.com/dahuoyzs/protostuffgenerate

Last synced: 7 days ago
JSON representation

ProtoStuffGenerate

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】。