" [ERROR] <no source info>: public abstract class com.sayusiando.java.gwt.lib.salib.grid.abstracts.GridAbstract"
Add you source files to your classpath? 2011/11/16 András Csányi <[email protected]> > Dear All, > > There is a beautiful idea in my mind to split my application to > different, logical parts. According to this idea I have a > DiLibWebClient, an EJB, a Lib and a SAGWTLib module in my maven > project. The DiLibWebClient contiains everything which is needed to > build a web application but my small common stuff based on GWT. EJB > project contains the EJB part and the Lib contains the DTOs. I'm using > GWT-RPC. > > I made an abstract class which is describe a field, basically a grid > to list and manipulate data, and I would like to use this grid heavily > through my applications. So, I placed it in the SAGWTLib project. To > use this grid I have to extend 2 abstract classes (1 for the field and > another for RPC calls) and an abstract method in DiLibWebClient > project. To put in simplier form: > > DiLibWebClient project > public class ListOfSources extends GridAbstract{} > > SAGWTLib project: > public abstract class GridAbstract extends Composite {} > > When I would like to compile the WebClient project it fails always. > The output is attached to end of this letter. > > According to my java developer friend the java part of my code is ok > and he said that It could have been something gwt specific thing. > > Before I'm going to do something with this problem I would like to ask > your help. Should I reorganize my project? If so, what is the > recommended way? Have to be in the same project the abstract classes > and the extending classes? > > The DiLibWebClient is compiled as a gwt project. The SAGWTLib project > is compiled as a simple java project, sources are attached. Should I > compile it as a gwt project? > > I've searched on the internet and I found a ticket in the bugtracker > system of GWT and according to this I should change my code but there > was no further information about this. > > Thank you very much any help in advance or suggestions! > > > auto discovered modules [com.sayusiando.java.dilib.DiLibWebClient] > Compiling module com.sayusiando.java.dilib.DiLibWebClient > Validating newly compiled units > Ignored 4 units with compilation errors in first pass. > Compile with -strict or with -logLevel set to TRACE or DEBUG to see all > errors. > [ERROR] An internal compiler exception occurred > com.google.gwt.dev.jjs.InternalCompilerException: Failed to get JNode > at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:140) > at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:71) > at > com.google.gwt.dev.jjs.impl.BuildTypeMap.getType(BuildTypeMap.java:730) > at > com.google.gwt.dev.jjs.impl.BuildTypeMap.process(BuildTypeMap.java:814) > at > com.google.gwt.dev.jjs.impl.BuildTypeMap.access$700(BuildTypeMap.java:99) > at > com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.process(BuildTypeMap.java:325) > at > com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.visit(BuildTypeMap.java:244) > at > org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1198) > at > org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:687) > at > com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls(BuildTypeMap.java:637) > at > com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:514) > at > com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:523) > at > com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:599) > at > com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33) > at com.google.gwt.dev.Precompile.precompile(Precompile.java:284) > at com.google.gwt.dev.Precompile.precompile(Precompile.java:233) > at com.google.gwt.dev.Precompile.precompile(Precompile.java:145) > at com.google.gwt.dev.Compiler.run(Compiler.java:232) > at com.google.gwt.dev.Compiler.run(Compiler.java:198) > at com.google.gwt.dev.Compiler$1.run(Compiler.java:170) > at > com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88) > at > com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82) > at com.google.gwt.dev.Compiler.main(Compiler.java:177) > [ERROR] <no source info>: public abstract class > com.sayusiando.java.gwt.lib.salib.grid.abstracts.GridAbstract > extends com.google.gwt.user.client.ui.Composite > /* fields */ > private [unresolved] java.lang.Integer amountOfContentColumn > private [unresolved] java.lang.Integer colspanOfGridTitle > private [unresolved] java.lang.Integer firstColumnOfGrid > private [unresolved] java.lang.Integer firstRowOfGrid > private [unresolved] Unresolved type > com.sayusiando.java.gwt.lib.salib.grid.dto.GridSetupDTO gridSetupDTO > private [unresolved] java.lang.Integer positionOfCheckboxesColumn > private [unresolved] java.lang.Integer positionOfCommonsButtonRow > private [unresolved] java.lang.Integer positionOfDropDownFilterRow > private [unresolved] java.lang.Integer positionOfFirstButtonColumn > private [unresolved] java.lang.Integer positionOfFirstContentColumn > private [unresolved] java.lang.Integer positionOfFirstContentRow > private [unresolved] java.lang.Integer positionOfFirstGridColumn > private [unresolved] java.lang.Integer positionOfFooterRow > private [unresolved] java.lang.Integer positionOfGridTitleRow > private [unresolved] java.lang.Integer positionOfTitlesRow > private [unresolved] java.lang.Integer positionOfTypeFilterRow > private [unresolved] Map#RAW propertyMap > private [unresolved] HashMap<java.lang.Long,?> resultMap > private [unresolved] Unresolved type > com.google.gwt.user.client.ui.FlexTable simpleGrid > /* methods */ > public void <init>(com.sayusiando.java.gwt.lib.salib.grid.dto.GridSetupDTO) > throws com.sayusiando.java.gwt.lib.salib.grid.exception.SimpleGridException > [unresolved] protected void calculateAmountOfcontentColumn() > [unresolved] protected void calculateBasePointOfGrid() > [unresolved] protected void calculateColspanOfGridTitle() > [unresolved] protected void calculatePositionOfChekcboxesColumn() > [unresolved] protected void calculatePositionOfCommonButtonsRow() > [unresolved] protected void calculatePositionOfDropdownlistFilterRow() > [unresolved] protected void calculatePositionOfFirstButtonColumn() > [unresolved] protected void calculatePositionOfFirstContentColumn() > [unresolved] protected void calculatePositionOfFirstContentRow() > [unresolved] protected void calculatePositionOfFooterRow() > [unresolved] protected void calculatePositionOfGridFirstColumn() > [unresolved] protected void calculatePositionOfGridTitleRow() > [unresolved] protected void calculatePositionOfTitlesRow() > [unresolved] protected void calculatePositionOfTypeFilterRow() > [unresolved] protected Unresolved type > com.google.gwt.user.client.ui.CheckBox createACheckbox() > [unresolved] protected com.google.gwt.user.client.ui.SimplePanel > createContentPanel(java.lang.String) > [unresolved] private void doPropertyMap() throws Unresolved type > com.sayusiando.java.gwt.lib.salib.grid.exception.SAGWTBeanUtilsException > [unresolved] public Unresolved type > com.sayusiando.java.gwt.lib.salib.grid.dto.GridSetupDTO > getGridSetupDTO() > [unresolved] protected Map#RAW getMethodsOfDTOObject(java.lang.Object) > protected abstract HashMap<java.lang.Long,java.lang.Object> initCall() > [unresolved] protected com.google.gwt.user.client.ui.Button > populateButtons(int) > [unresolved] protected void populateCheckboxForRow(int) > [unresolved] protected void populateGrid() throws Unresolved type > com.sayusiando.java.gwt.lib.salib.grid.exception.SAGWTBeanUtilsException > [unresolved] protected void > populateOneRow(Entry<java.lang.Long,java.lang.Object>, int) throws > Unresolved type > com.sayusiando.java.gwt.lib.salib.grid.exception.SAGWTBeanUtilsException > [unresolved] protected void > populateOneRowContent(Entry<java.lang.Long,java.lang.Object>, int) > throws Unresolved type > com.sayusiando.java.gwt.lib.salib.grid.exception.SAGWTBeanUtilsException > [unresolved] public void setGridSetupDTO(Unresolved type > com.sayusiando.java.gwt.lib.salib.grid.dto.GridSetupDTO) > [unresolved] protected void setupColspanOfFooter() > [unresolved] protected void setupColspanOfGridTitle() > [unresolved] protected void setupTitleOfGrid() > > > > org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding > [ERROR] at ListOfSources.java(16): class ListOfSources > com.google.gwt.dev.jjs.ast.JClassType > > -- > - - > -- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu -- > http://facebook.com/andras.csanyi > -- ""Trust in God and keep your gunpowder dry!" - Cromwell > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
