1. #1
    Sencha User
    Join Date
    Jul 2011
    Location
    France
    Posts
    13
    Vote Rating
    0
    skha is on a distinguished road

      0  

    Default EXT GWT Compilation ERROR

    EXT GWT Compilation ERROR


    Hello;
    I'm trying to use a login form using this code
    Code:
    package com.google.mysqlcon.client;
    
    import com.extjs.gxt.ui.client.widget.form.FormPanel;
    import com.extjs.gxt.ui.client.widget.form.TextField;
    import com.google.gwt.core.client.EntryPoint;
    import com.google.gwt.core.client.GWT;
    import com.google.gwt.user.client.ui.RootPanel;
    
    /**
     * Entry point classes define <code>onModuleLoad()</code>.
     */
    public class MysqlCon implements EntryPoint {
        
        /**
         * This is the entry point method.
         */
        public void onModuleLoad() {
            
            final FormPanel testPanel = new FormPanel();
            testPanel.setHeading("Basic Info");
            testPanel.setWidth(300);
            testPanel.setPagePosition(200,100);
            testPanel.setCollapsible(true);
            testPanel.setFrame(true);
            testPanel.setShadow(true);
    
            TextField<String> nameBox = new TextField<String>();
            nameBox.setEnabled(true);
            nameBox.setEmptyText("Enter your name...");
            nameBox.setFieldLabel("Name");
            testPanel.add(nameBox);
    
            
            RootPanel.get().add(testPanel);
            
        }
    }
    When i run my project i get the error below
    i dont understand why i get this error.
    Is there any one who can help me?

    thank you in advance for your help.

    Code:
    [DEBUG] [mysqlcon] - Validating newly compiled units
        [ERROR] [mysqlcon] - Errors in 'file:/C:/Users/khalida/workspace/mysqlCon/src/com/google/mysqlcon/client/MysqlCon.java'
            [ERROR] [mysqlcon] - Line 22: No source code is available for type com.extjs.gxt.ui.client.widget.form.FormPanel; did you forget to inherit a required module?
            [ERROR] [mysqlcon] - Line 30: No source code is available for type com.extjs.gxt.ui.client.widget.form.TextField<D>; did you forget to inherit a required module?
    [TRACE] [mysqlcon] - Finding entry point classes
        [ERROR] [mysqlcon] - Unable to find type 'com.google.mysqlcon.client.MysqlCon'
            [ERROR] [mysqlcon] - Hint: Previous compiler errors may have made this type unavailable
            [ERROR] [mysqlcon] - Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly
    [ERROR] [mysqlcon] - Failed to load module 'mysqlcon' from user agent 'Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.2.18) Gecko/20110614 Firefox/3.6.18 ( .NET CLR 3.5.30729; .NET4.0E)' at localhost.localdomain:55207

  2. #2
    Sencha User
    Join Date
    Jun 2010
    Location
    Mar del Plata, Argentina
    Posts
    7
    Vote Rating
    0
    Alejandro.Casagrande is on a distinguished road

      0  

    Default


    Did you include in your XML module configuration the GXT module?

    <inherits name='com.extjs.gxt.ui.GXT'/>

    Regards

  3. #3
    Sencha User
    Join Date
    Jul 2011
    Location
    France
    Posts
    13
    Vote Rating
    0
    skha is on a distinguished road

      0  

    Default


    That's exactlly what i forgot.
    Thank's a lot.

    Regards.

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar