AzureAD/microsoft-authentication-library-for-java#806
- Build an app with:
./gradlew :app:installDist- Ensure the app is running as expected:
./app/build/install/app/bin/app- Make
AbstractBuilderto extendBuilderBaseand comment outAbstractBuilder#{executorService/self}methods
abstract class AbstractBuilder<T extends AbstractBuilder<T>> extends BuilderBase<T> {
// public T executorService() {
// return self();
// }
//
// abstract T self();
}- Build an updated
lib.jarwith:
./gradlew :lib:jar- copy it to
libdirectory of app's distribution:
cp -f ./lib/build/libs/lib.jar ./app/build/install/app/lib/lib.jar- Run the app again to see the
java.lang.NoSuchMethodError
./app/build/install/app/bin/appException in thread "main" java.lang.NoSuchMethodError: 'org.example.lib.AbstractBuilder org.example.lib.Builder.executorService()'
at org.example.app.App.main(App.java:8)