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

Class file named error! #130

Open
haorendashu opened this issue Jun 30, 2014 · 0 comments
Open

Class file named error! #130

haorendashu opened this issue Jun 30, 2014 · 0 comments

Comments

@haorendashu
Copy link

My struct define in thrift file is:

struct AB {
    1: optional i16 abField;
}

but i use the maven plugin to generate the java class and the class file is named Ab.java

it could not named a public class AB in a Ab.java file.

you should change the file name from Ab.java to AB.java

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

No branches or pull requests

2 participants