Unable to load 'super' class in Desinger View

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Unable to load 'super' class in Desinger View

Postby colinzhao » Sun Nov 22, 2009 7:37 am

My gwt application project depends on another project (a base project) where I have a set of base classes to be shared by other projects. One of the classes there is a BaseComposite which extends the GWT Composite and is subclassed by my application Composite classes.

This works fine until this past week when I upgraded my Eclipse, GWT and Designer to

Eclipse 3.5.1
GWT 1.7.1
Designer Version: 7.2.0 Build id: 2009.11.18

The application till runs in Eclipse, but I get the "unable to load 'super class' when I switch to designer view on any of my Composite classes that extends the BaseComposite. Designer viewer works for subclasses located in the project of the BaseComposite, but not in a different project.

Somehow, Designer is not able to load the class:

com.instantiations.designer.core.utils.exception.DesignerException: 109 (Unable to load 'super' class). org.bps.base.client.app.BaseComposite
at com.instantiations.designer.core.parser.AbstractParseFactory.getSuperClass(AbstractParseFactory.java:362)
at com.instantiations.designer.gwt.parser.ParseFactory.getRootContext(ParseFactory.java:116)
at com.instantiations.designer.core.parser.JavaInfoParser.prepareParseContext(JavaInfoParser.java:900)
at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java:219)
at com.instantiations.designer.core.parser.JavaInfoParser.access$9(JavaInfoParser.java:216)
at com.instantiations.designer.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:140)
at com.instantiations.designer.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:1)
at com.instantiations.designer.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:99)
at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java:138)
at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:426)
at com.instantiations.designer.core.editor.DesignPage.access$9(DesignPage.java:418)
at com.instantiations.designer.core.editor.DesignPage$7$1.run(DesignPage.java:349)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4312)
at com.instantiations.designer.core.editor.DesignPage$7.run(DesignPage.java:346)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:367)
at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:316)
at com.instantiations.designer.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:448)
at com.instantiations.designer.core.editor.DesignPage.refreshGEF(DesignPage.java:302)
at com.instantiations.designer.core.editor.actions.RefreshAction.run(RefreshAction.java:34)
at com.instantiations.designer.core.editor.actions.DesignPageAction.run(DesignPageAction.java:23)
at com.instantiations.designer.core.editor.errors.ExceptionComposite$2.widgetSelected(ExceptionComposite.java:103)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Caused by: java.lang.ClassNotFoundException: org.bps.base.client.app.BaseComposite
at com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:650)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.instantiations.designer.core.parser.AbstractParseFactory.getSuperClass(AbstractParseFactory.java:360)
... 50 more

Full context stack trace:
com.instantiations.designer.core.utils.exception.DesignerException: 109 (Unable to load 'super' class). org.bps.base.client.app.BaseComposite
at com.instantiations.designer.core.parser.AbstractParseFactory.getSuperClass(AbstractParseFactory.java:362)
at com.instantiations.designer.gwt.parser.ParseFactory.getRootContext(ParseFactory.java:116)
at com.instantiations.designer.core.parser.JavaInfoParser.prepareParseContext(JavaInfoParser.java:900)
at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java:219)
at com.instantiations.designer.core.parser.JavaInfoParser.access$9(JavaInfoParser.java:216)
at com.instantiations.designer.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:140)
at com.instantiations.designer.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:1)
at com.instantiations.designer.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:99)
at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java:138)
at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:426)
at com.instantiations.designer.core.editor.DesignPage.access$9(DesignPage.java:418)
at com.instantiations.designer.core.editor.DesignPage$7$1.run(DesignPage.java:349)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4312)
at com.instantiations.designer.core.editor.DesignPage$7.run(DesignPage.java:346)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:367)
at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:316)
at com.instantiations.designer.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:448)
at com.instantiations.designer.core.editor.DesignPage.refreshGEF(DesignPage.java:302)
at com.instantiations.designer.core.editor.actions.RefreshAction.run(RefreshAction.java:34)
at com.instantiations.designer.core.editor.actions.DesignPageAction.run(DesignPageAction.java:23)
at com.instantiations.designer.core.editor.errors.ExceptionComposite$2.widgetSelected(ExceptionComposite.java:103)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Caused by: java.lang.ClassNotFoundException: org.bps.base.client.app.BaseComposite
at com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:650)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.instantiations.designer.core.parser.AbstractParseFactory.getSuperClass(AbstractParseFactory.java:360)
... 50 more
colinzhao
 
Posts: 24
Joined: Sun Dec 31, 2006 4:03 pm

Re: Unable to load 'super' class in Desinger View

Postby Eric Clayberg » Sun Nov 22, 2009 12:35 pm

Are there any errors in your .gwt-log file?

Please post a small, self-contained test case that will reproduce the problem.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Unable to load 'super' class in Desinger View

Postby colinzhao » Tue Nov 24, 2009 6:27 pm

The log is attached. Apperantly, GWT Designer has trouble to load the BigDecimal class in the base project, where I use the gwt-math module that emulate the BigDecimal.

Unfortunitely, I cannot reproduce the problem with a small project. It only happens with my application project.

Note again, the project compiles and runs fine. The problem shows up only when I switch to the design view of a composite that extends the BaseComposite in the base project.

Could this be some kind of class loading problem with the Designer?
colinzhao
 
Posts: 24
Joined: Sun Dec 31, 2006 4:03 pm

Re: Unable to load 'super' class in Desinger View

Postby Eric Clayberg » Wed Nov 25, 2009 7:52 am

colinzhao wrote:The log is attached.

There was no log attached.

colinzhao wrote:Apperantly, GWT Designer has trouble to load the BigDecimal class in the base project, where I use the gwt-math module that emulate the BigDecimal.

No, GWT Designer does not have any trouble doing this. We tried it on our end, and it worked just fine.

colinzhao wrote:Unfortunitely, I cannot reproduce the problem with a small project. It only happens with my application project.

Sounds like a problem with your application project. Again, if you want to send us a test case that will reproduce this, we would be happy to take a look.

If you can't reproduce it in a small project, you should focus on what is different between the two projects.

colinzhao wrote:Could this be some kind of class loading problem with the Designer?

Possible but unlikely (as it would have likely shown up with many other users already).

Again, we would need to see an actual test case to confirm this as a GWT Designer problem or not.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Unable to load 'super' class in Desinger View

Postby colinzhao » Wed Nov 25, 2009 3:33 pm

Don't know why the log file cannot be attached. Here is the content

Loading module 'org.bps.admin.Amm2'
Loading inherited module 'com.google.gwt.user.User'
Loading inherited module 'com.google.gwt.core.Core'
Loading inherited module 'com.google.gwt.dev.jjs.intrinsic.Intrinsic'
Loading inherited module 'com.google.gwt.lang.LongLib'
Loading inherited module 'com.google.gwt.emul.Emulation'
Loading inherited module 'com.google.gwt.core.CompilerParameters'
Loading inherited module 'com.google.gwt.event.Event'
Loading inherited module 'com.google.gwt.event.EventBase'
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.event.dom.DomEvent'
Loading inherited module 'com.google.gwt.event.EventBase'
Module 'com.google.gwt.event.EventBase' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.dom.DOM'
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Loading inherited module 'com.google.gwt.emul.EmulationWithUserAgent'
Loading inherited module 'com.google.gwt.emul.Emulation'
Module 'com.google.gwt.emul.Emulation' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.event.logical.LogicalEvent'
Loading inherited module 'com.google.gwt.event.EventBase'
Module 'com.google.gwt.event.EventBase' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.animation.Animation'
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.User'
Module 'com.google.gwt.user.User' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.RemoteService'
Loading inherited module 'com.google.gwt.http.HTTP'
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.DocumentRoot'
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.DOM'
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.dom.DOM'
Module 'com.google.gwt.dom.DOM' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.Window'
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.HTTPRequest'
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.History'
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.i18n.I18N'
Loading inherited module 'com.google.gwt.user.Popup'
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.Form'
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.TextBox'
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.Focus'
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.ImageBundle'
Loading inherited module 'com.google.gwt.user.ClippedImage'
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.ClippedImage'
Module 'com.google.gwt.user.ClippedImage' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.RichText'
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.SplitPanel'
Loading inherited module 'com.google.gwt.user.User'
Module 'com.google.gwt.user.User' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.CaptionPanel'
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.Window'
Module 'com.google.gwt.user.Window' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.Tree'
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.Hyperlink'
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been loaded and will be skipped
Loading inherited module 'com.google.gwt.user.datepicker.DatePicker'
Loading inherited module 'com.google.gwt.user.theme.standard.Standard'
Public resources found in...
Refreshing resources
Searching for resources within file:/C:/java/gwt-windows-1.7.1/gwt-user.jar
Indexing zip file: C:\java\gwt-windows-1.7.1\gwt-user.jar
Searching for resources within file:/C:/java/gilead-1.2.3.823/dist/adapter4gwt-1.2.3.823.jar
Indexing zip file: C:\java\gilead-1.2.3.823\dist\adapter4gwt-1.2.3.823.jar
Searching for resources within file:/C:/java/gilead-1.2.3.823/dist/adapter-core-1.2.3.823.jar
Indexing zip file: C:\java\gilead-1.2.3.823\dist\adapter-core-1.2.3.823.jar
Searching for resources within file:/C:/java/gilead-1.2.3.823/dist/hibernate-util-1.2.3.823.jar
Indexing zip file: C:\java\gilead-1.2.3.823\dist\hibernate-util-1.2.3.823.jar
Searching for resources within file:/C:/java/lib/GWTcs.jar
Indexing zip file: C:\java\lib\GWTcs.jar
Searching for resources within file:/C:/java/lib/mail-1.4.2.jar
Indexing zip file: C:\java\lib\mail-1.4.2.jar
Searching for resources within file:/C:/java/hibernate-3.2/hibernate3.jar
Indexing zip file: C:\java\hibernate-3.2\hibernate3.jar
Searching for resources within file:/C:/java/spring-framework-2.0.7/dist/spring.jar
Indexing zip file: C:\java\spring-framework-2.0.7\dist\spring.jar
Searching for resources within file:/C:/eclipse/plugins/org.aspectj.runtime_1.6.6.20090930185500/aspectjrt.jar
Indexing zip file: C:\eclipse\plugins\org.aspectj.runtime_1.6.6.20090930185500\aspectjrt.jar
Searching for resources within file:/C:/java/gwt-windows-1.7.1/gwt-dev-windows.jar
Indexing zip file: C:\java\gwt-windows-1.7.1\gwt-dev-windows.jar
Searching for resources within file:/C:/java/lib/zenbinding-0.51.jar
Indexing zip file: C:\java\lib\zenbinding-0.51.jar
Searching for resources within file:/C:/java/hibernate-3.2/lib/cglib-2.1.3.jar
Indexing zip file: C:\java\hibernate-3.2\lib\cglib-2.1.3.jar
Searching for resources within file:/C:/java/lib/gwt-math-2.1.jar
Indexing zip file: C:\java\lib\gwt-math-2.1.jar
Translatable source found in...
Refreshing resources
Refreshing module from source
Validating newly compiled units
Removing units with errors
[ERROR] Errors in 'file:/C:/workspace35/sal/Amm2/src/org/bps/admin/client/ui/BigDecimalBox.java'
[ERROR] Line 3: The import java.math cannot be resolved
[ERROR] Line 133: BigDecimal cannot be resolved to a type
[ERROR] Line 141: BigDecimal cannot be resolved to a type
[ERROR] Line 144: BigDecimal cannot be resolved to a type
[ERROR] Errors in 'jar:file:/C:/java/lib/gwt-math-2.1.jar!/com/google/gwt/user/client/rpc/core/java/math/BigInteger_CustomFieldSerializer.java'
[ERROR] Line 8: The import java.math cannot be resolved
[ERROR] Line 17: BigInteger cannot be resolved to a type
[ERROR] Line 21: BigInteger cannot be resolved to a type
[ERROR] Line 23: BigInteger cannot be resolved to a type
[ERROR] Line 27: BigInteger cannot be resolved to a type
[ERROR] Errors in 'jar:file:/C:/java/gwt-windows-1.7.1/gwt-user.jar!/com/google/gwt/user/datepicker/client/package-info.java'
[ERROR] Line 1: The type package-info is already defined
[ERROR] Errors in 'jar:file:/C:/java/lib/gwt-math-2.1.jar!/com/google/gwt/user/client/rpc/core/java/math/BigDecimal_CustomFieldSerializer.java'
[ERROR] Line 8: The import java.math cannot be resolved
[ERROR] Line 17: BigDecimal cannot be resolved to a type
[ERROR] Line 21: BigDecimal cannot be resolved to a type
[ERROR] Line 23: BigDecimal cannot be resolved to a type
[ERROR] Line 27: BigDecimal cannot be resolved to a type
[ERROR] Errors in 'jar:file:/C:/java/gwt-windows-1.7.1/gwt-user.jar!/com/google/gwt/event/shared/package-info.java'
[ERROR] Line 1: The type package-info is already defined
Removing units with errors
[ERROR] Errors in 'file:/C:/workspace35/sal/Amm2/src/org/bps/admin/client/module/module/ModuleProjectViewData.java'
[ERROR] Line 10: No source code is available for type org.bps.admin.domain.ProjectApplication; did you forget to inherit a required module?
[ERROR] Line 11: No source code is available for type org.bps.admin.domain.ProjectModule; did you forget to inherit a required module?
[ERROR] Errors in 'file:/C:/workspace35/sal/Amm2/src/org/bps/admin/client/module/login/AdminLoginComp.java'
[ERROR] Line 10: No source code is available for type org.bps.base.client.module.login.LoginComp; did you forget to inherit a required module?
[ERROR] Line 11: No source code is available for type org.bps.base.client.app.BasicTransition; did you forget to inherit a required module?
[ERROR] Line 24: No source code is available for type org.bps.base.client.app.BaseClientApplication; did you forget to inherit a required module?
[ERROR] Errors in 'file:/C:/workspace35/sal/Amm2/src/org/bps/admin/client/service/ModuleEditorService.java'
[ERROR] Line 29: No source code is available for type org.bps.base.client.BPSAppException; did you forget to inherit a required module?
[ERROR] Line 32: No source code is available for type org.bps.base.client.service.ServiceResponse; did you forget to inherit a required module?
[ERROR] Line 32: No source code is available for type org.bps.admin.domain.ApplicationModule; did you forget to inherit a required module?
[ERROR] Line 35: No source code is available for type org.bps.admin.domain.ComponentGroup; did you forget to inherit a required module?
[ERROR] Errors in 'file:/C:/workspace35/sal/Amm2/src/org/bps/admin/client/module/module/ModuleImplEditorViewData.java'
...
colinzhao
 
Posts: 24
Joined: Sun Dec 31, 2006 4:03 pm

Re: Unable to load 'super' class in Desinger View

Postby Eric Clayberg » Wed Nov 25, 2009 4:57 pm

The following are errors reported by GWT itself, not GWT Designer...

colinzhao wrote:Refreshing module from source
Validating newly compiled units
Removing units with errors
[ERROR] Errors in 'file:/C:/workspace35/sal/Amm2/src/org/bps/admin/client/ui/BigDecimalBox.java'
[ERROR] Line 3: The import java.math cannot be resolved
[ERROR] Line 133: BigDecimal cannot be resolved to a type
[ERROR] Line 141: BigDecimal cannot be resolved to a type
[ERROR] Line 144: BigDecimal cannot be resolved to a type
[ERROR] Errors in 'jar:file:/C:/java/lib/gwt-math-2.1.jar!/com/google/gwt/user/client/rpc/core/java/math/BigInteger_CustomFieldSerializer.java'
[ERROR] Line 8: The import java.math cannot be resolved
[ERROR] Line 17: BigInteger cannot be resolved to a type
[ERROR] Line 21: BigInteger cannot be resolved to a type
[ERROR] Line 23: BigInteger cannot be resolved to a type
[ERROR] Line 27: BigInteger cannot be resolved to a type
[ERROR] Errors in 'jar:file:/C:/java/gwt-windows-1.7.1/gwt-user.jar!/com/google/gwt/user/datepicker/client/package-info.java'
[ERROR] Line 1: The type package-info is already defined
[ERROR] Errors in 'jar:file:/C:/java/lib/gwt-math-2.1.jar!/com/google/gwt/user/client/rpc/core/java/math/BigDecimal_CustomFieldSerializer.java'
[ERROR] Line 8: The import java.math cannot be resolved
[ERROR] Line 17: BigDecimal cannot be resolved to a type
[ERROR] Line 21: BigDecimal cannot be resolved to a type
[ERROR] Line 23: BigDecimal cannot be resolved to a type
[ERROR] Line 27: BigDecimal cannot be resolved to a type
[ERROR] Errors in 'jar:file:/C:/java/gwt-windows-1.7.1/gwt-user.jar!/com/google/gwt/event/shared/package-info.java'
[ERROR] Line 1: The type package-info is already defined
Removing units with errors
[ERROR] Errors in 'file:/C:/workspace35/sal/Amm2/src/org/bps/admin/client/module/module/ModuleProjectViewData.java'
[ERROR] Line 10: No source code is available for type org.bps.admin.domain.ProjectApplication; did you forget to inherit a required module?
[ERROR] Line 11: No source code is available for type org.bps.admin.domain.ProjectModule; did you forget to inherit a required module?
[ERROR] Errors in 'file:/C:/workspace35/sal/Amm2/src/org/bps/admin/client/module/login/AdminLoginComp.java'
[ERROR] Line 10: No source code is available for type org.bps.base.client.module.login.LoginComp; did you forget to inherit a required module?
[ERROR] Line 11: No source code is available for type org.bps.base.client.app.BasicTransition; did you forget to inherit a required module?
[ERROR] Line 24: No source code is available for type org.bps.base.client.app.BaseClientApplication; did you forget to inherit a required module?
[ERROR] Errors in 'file:/C:/workspace35/sal/Amm2/src/org/bps/admin/client/service/ModuleEditorService.java'
[ERROR] Line 29: No source code is available for type org.bps.base.client.BPSAppException; did you forget to inherit a required module?
[ERROR] Line 32: No source code is available for type org.bps.base.client.service.ServiceResponse; did you forget to inherit a required module?
[ERROR] Line 32: No source code is available for type org.bps.admin.domain.ApplicationModule; did you forget to inherit a required module?
[ERROR] Line 35: No source code is available for type org.bps.admin.domain.ComponentGroup; did you forget to inherit a required module?
[ERROR] Errors in 'file:/C:/workspace35/sal/Amm2/src/org/bps/admin/client/module/module/ModuleImplEditorViewData.java'
...
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Unable to load 'super' class in Desinger View

Postby colinzhao » Wed Nov 25, 2009 5:40 pm

The problem is resolved. It is my own problem that the project contains two GWT modules. One of them doesn't list all the inheritance modules. While I switched to designer view, the IDE was trying to load the wrong module. That caused the problem. Everything works now after I deleted the wrong module.

Thanks for you help.
colinzhao
 
Posts: 24
Joined: Sun Dec 31, 2006 4:03 pm

Re: Unable to load 'super' class in Desinger View

Postby Eric Clayberg » Wed Nov 25, 2009 6:24 pm

Glad to hear that the problem is resolved. We would definitely not have guessed that without a test case! ;-)
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest