I got the same issues today , initially i tried to use the modular approach but atlast by using the old launcher class technique its fixed and the sample application is launched!
package com.htech.sample;
public class Launcher {
public static void main(String[] args) {
Main.main(args);
}
}