This config doesn't work when using XD bundles. We might want to copy the dist directory as is into spring-xd-ui since the RestConfiguration's ResourceRoot: ${xd.ui.home:file:${XD_HOME}/spring-xd-ui/dist/}  points to "dist" directory inside spring-xd-ui.