Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Libra » By using warproduct, Compilation errors occurred during the operation
By using warproduct, Compilation errors occurred during the operation [message #758499] Wed, 23 November 2011 13:18
ocean xue is currently offline ocean xueFriend
Messages: 107
Registered: November 2011
Senior Member
In the login dialog to add the Application class

public class Application implements IApplication {

public Object start(IApplicationContext context) throws Exception {
Display display = PlatformUI.createDisplay();
LoginDialog loginDialog = new LoginDialog(display.getActiveShell());
// 加载登录切入点
if ( != Window.OK) {
return IApplication.EXIT_OK;
return PlatformUI.createAndRunWorkbench(display,
new ApplicationWorkbenchAdvisor());

public void stop() {
// Do nothing


ERROR in D:\work\eoffice\src\eoffice\startup\ (at line 21)
int result =;
loginDialog cannot be resolved
Previous Topic:by using eclipse wtp3.3 create WAR product configuration,export war file,one error occurs
Next Topic:NPE trying to convert a JPA project into a OSGi project
Goto Forum:

Current Time: Tue Jul 23 05:21:50 GMT 2024

Powered by FUDForum. Page generated in 0.04057 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top