You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add comment for other annotation processors for the installation #72
A lot of users are having problems, because they don't quite understand the maven compiler annotationProcessorPaths. @alexis-puska suggested that we extend the installation instructions with something like:
<configuration>
<source>1.6</source> <!-- or higher, depending on your project -->
<target>1.6</target> <!-- or higher, depending on your project -->
<annotationProcessorPaths>
<path>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${org.mapstruct.version}</version>
</path>
<!-- If you use other annotations processor add them here -->
</annotationProcessorPaths>
</configuration>
I think that this is a good suggestion and would help other developers in issues when MapStruct and Lombok are not working well together due to wrong setup
hi @filiphr ,, i still got that issue(Mapstruct + lombock failed compilation #1361).
before adding above configuration, i've got error like below :
[ERROR] service/mapper/VariableMapper.java:[14,5] Unknown property "ficheDePosteId" in result type com.valorecia.gpec.service.dto.VariableDTO. D
id you mean "null"?
[ERROR] service/mapper/VariableMapper.java:[17,5] No property named "ficheDePosteId" exists in source parameter(s). Did you mean "null"?
and then i tried to implement that you mention above. but i've got different issue related maven compilation.
Unable to parse configuration of mojo org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile for parameter source: Cannot find default setter in class org.apache.maven.plugin.compiler.DependencyCoordinate
Activity
gunnarmorling commentedon Dec 27, 2017
Good idea!
adjie7x commentedon Feb 14, 2019
hi @filiphr ,, i still got that issue(Mapstruct + lombock failed compilation #1361).
before adding above configuration, i've got error like below :
[ERROR] service/mapper/VariableMapper.java:[14,5] Unknown property "ficheDePosteId" in result type com.valorecia.gpec.service.dto.VariableDTO. D
id you mean "null"?
[ERROR] service/mapper/VariableMapper.java:[17,5] No property named "ficheDePosteId" exists in source parameter(s). Did you mean "null"?
and then i tried to implement that you mention above. but i've got different issue related maven compilation.
Unable to parse configuration of mojo org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile for parameter source: Cannot find default setter in class org.apache.maven.plugin.compiler.DependencyCoordinate
i use intellij for IDE.
could you help me please?
Halcyon666 commentedon Jul 1, 2023
any solutions find?
filiphr commentedon Jul 8, 2023
Solution for what @Halcyon666? This issues is for doing something in the website