Hmm.
I think the class loading error in the example is causing the fetch of the component Javascript to fail (return a 404 page) which may be causing knock-on effects that end up with drag and drop not working. At least, that's my best guess at the moment.
If you go into the OneComponentGatewayHook
and remove this method implementation:
@Override
public void onMountedResourceRequest(String resourcePath, HttpServletResponse response) {
super.onMountedResourceRequest(resourcePath, response);
}
Then optimize imports and rebuild the module, it should work. The underlying problem is the Jetty upgrade we did in 8.1.49: