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
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.
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
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: redhat-developer/vscode-java#1660
The text was updated successfully, but these errors were encountered: