vscode-java-test
vscode-java-test copied to clipboard
'Cannot find implementation' for mapstruct mappers
I prepare repo: https://github.com/pumano/vscode-mapstruct-tests
just check via gradle clean test
and then try to run via vscode.
You got java.lang.ExceptionInInitializerError
which Caused by: java.lang.ClassNotFoundException: Cannot find implementation for com.example.vscode.mapstructdemo.mappers.ExampleMapper
looks like path to generated
code not included to tests.
Also I link this issue with issue in redhat repo: https://github.com/redhat-developer/vscode-java/issues/1660
Can any one tel the answer for this. In my case implementation class got generated but its not able to detect the impl class while performing unit testing