pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gk_br...@verizon.net>
Subject Re: Application class name is required.
Date Tue, 03 May 2011 16:36:27 GMT
> I just click Run > Run As > Pivot
> Application. Because this doesn't have a main() method, I assumed it uses
> the startup() method instead.

That's correct. By the way, the fact that this menu item exists means that the plugin was
installed correctly. However, it doesn't seem to be launching your application properly. What
version of Eclipse are you using?

Another thing you can try is adding a main() method to your app. In this method, you can call
DesktopApplicationContext.main():

public static void main(String[] args) {
    DesktopApplicationContext.main(MyApplication.class, args);
}

That will allow you to launch your application using Eclipe's built-in launch support.

G


Mime
View raw message