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

Failing to generate adapter class from root package #202

Open
fralalonde opened this issue Nov 15, 2018 · 0 comments
Open

Failing to generate adapter class from root package #202

fralalonde opened this issue Nov 15, 2018 · 0 comments

Comments

@fralalonde
Copy link

Compiling a root-package (with no package def) class containing @Mapper interfaces fails with an exception similar to

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project moop: Compilation failure
[ERROR] javax.annotation.processing.FilerException: Illegal name .RootApp_SelmaMapperSelmaGeneratedClass

It seems the MapperClassGenerator expects the containing class to be in a non-empty package.

Fix PR to follow.

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

1 participant