1. #1
    Sencha User
    Join Date
    Oct 2010
    Location
    Kuşadası/Aydın/Turkey
    Posts
    94
    Vote Rating
    0
    TrojanMyth is on a distinguished road

      0  

    Default Unanswered: Binding Driver Proplem with GWT 2.4.0

    Unanswered: Binding Driver Proplem with GWT 2.4.0


    PHP Code:
    Rebinding com.google.gwt.user.client.ui.impl.RichTextAreaImpl
       Checking rule 
    <generate-with class='com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator'/>
          [
    WARNUnknown type 'com.google.web.bindery.requestfactory.shared.RequestFactory' specified in deferred binding rule
       Checking rule 
    <generate-with class='com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryEditorDriverGenerator'/>
          [
    WARNUnknown type 'com.google.web.bindery.requestfactory.gwt.client.RequestFactoryEditorDriver' specified in deferred binding rule
    [ERRORErrors in 'jar:file:/D:/IS/MATERIAL/SOURCE/JAVA/gwt-2.4.0/gwt-user.jar!/com/google/gwt/editor/client/EditorDriver.java'
       
    [ERRORLine 20The import javax.validation.ConstraintViolation cannot be resolved
       
    [ERRORLine 97ConstraintViolation cannot be resolved to a type
    Rebinding org
    .ergatech.web.application.integra.client.AdminDriver
       Checking rule 
    <replace-with class='com.sencha.gxt.theme.base.client.grid.GroupingViewDefaultAppearance'/>
          [
    ERRORErrors in 'jar:file:/D:/IS/MATERIAL/SOURCE/JAVA/gwt-2.4.0/gwt-user.jar!/com/google/gwt/editor/client/EditorDriver.java'
             
    [ERRORLine 20The import javax.validation.ConstraintViolation cannot be resolved
             
    [ERRORLine 97ConstraintViolation cannot be resolved to a type
          
    [ERRORUnable to find type 'org.ergatech.web.application.integra.client.AdminDriver'
             
    [ERRORHintPrevious compiler errors may have made this type unavailable
             
    [ERRORHintCheck the inheritance chain from your moduleit may not be inheriting a required module or a module may not be adding its source path entries properly
    [ERRORDeferred binding failed for 'org.ergatech.web.application.integra.client.AdminDriver'expect subsequent failures
    Rebinding com
    .sencha.gxt.widget.core.client.box.MessageBox.MessageBoxIcons
       Checking rule 
    <generate-with class='com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator'/>
          [
    WARNUnknown type 'com.google.web.bindery.requestfactory.shared.RequestFactory' specified in deferred binding rule
       Checking rule 
    <generate-with class='com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryEditorDriverGenerator'/>
          [
    WARNUnknown type 'com.google.web.bindery.requestfactory.gwt.client.RequestFactoryEditorDriver' specified in deferred binding rule
    Rebinding com
    .sencha.gxt.theme.base.client.container.MessageBoxDefaultAppearance.MessageBoxResources
       Checking rule 
    <generate-with class='com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator'/>
          [
    WARNUnknown type 'com.google.web.bindery.requestfactory.shared.RequestFactory' specified in deferred binding rule
       Checking rule 
    <generate-with class='com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryEditorDriverGenerator'/>
          [
    WARNUnknown type 'com.google.web.bindery.requestfactory.gwt.client.RequestFactoryEditorDriver' specified in deferred binding rule
    Rebinding com
    .sencha.gxt.theme.base.client.container.MessageBoxDefaultAppearance.Template
       Checking rule 
    <generate-with class='com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator'/>
          [
    WARNUnknown type 'com.google.web.bindery.requestfactory.shared.RequestFactory' specified in deferred binding rule
       Checking rule 
    <generate-with class='com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryEditorDriverGenerator'/>
          [
    WARNUnknown type 'com.google.web.bindery.requestfactory.gwt.client.RequestFactoryEditorDriver' specified in deferred binding rule
    Rebinding com
    .sencha.gxt.theme.base.client.container.MessageBoxDefaultAppearance_Template_render_SafeHtml__MessageBoxBaseStyle_style___SafeHtmlTemplates
       Checking rule 
    <generate-with class='com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator'/>
          [
    WARNUnknown type 'com.google.web.bindery.requestfactory.shared.RequestFactory' specified in deferred binding rule
       Checking rule 
    <generate-with class='com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryEditorDriverGenerator'/>
          [
    WARNUnknown type 'com.google.web.bindery.requestfactory.gwt.client.RequestFactoryEditorDriver' specified in deferred binding rule
    Rebinding com
    .sencha.gxt.widget.core.client.ModalPanel.ModalPanelDefaultAppearance
       Checking rule 
    <generate-with class='com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator'/>
          [
    WARNUnknown type 'com.google.web.bindery.requestfactory.shared.RequestFactory' specified in deferred binding rule
       Checking rule 
    <generate-with class='com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryEditorDriverGenerator'/>
          [
    WARNUnknown type 'com.google.web.bindery.requestfactory.gwt.client.RequestFactoryEditorDriver' specified in deferred binding rule
    Rebinding com
    .sencha.gxt.widget.core.client.ModalPanel.ModalPanelDefaultAppearance.ModalPanelResources
       Checking rule 
    <generate-with class='com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator'/>
          [
    WARNUnknown type 'com.google.web.bindery.requestfactory.shared.RequestFactory' specified in deferred binding rule
       Checking rule 
    <generate-with class='com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryEditorDriverGenerator'/>
          [
    WARNUnknown type 'com.google.web.bindery.requestfactory.gwt.client.RequestFactoryEditorDriver' specified in deferred binding rule
    [ERROROne or more exceptions caughtsee full set in UmbrellaException#getCauses
    com.google.gwt.event.shared.UmbrellaExceptionOne or more exceptions caughtsee full set in UmbrellaException#getCauses
        
    at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129)
        
    at com.sencha.gxt.cell.core.client.AbstractEventCell.fireEvent(AbstractEventCell.java:89)
        
    at com.sencha.gxt.cell.core.client.ButtonCell.onClick(ButtonCell.java:428)
        
    at com.sencha.gxt.cell.core.client.ButtonCell.onBrowserEvent(ButtonCell.java:289)
        
    at com.sencha.gxt.widget.core.client.cell.CellComponent.onBrowserEvent(CellComponent.java:221)
        
    at com.sencha.gxt.widget.core.client.button.CellButtonBase.onBrowserEvent(CellButtonBase.java:163)
        
    at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1351)
        
    at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1307)
        
    at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
        
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        
    at java.lang.reflect.Method.invoke(Method.java:601)
        
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
        
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
        
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
        
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337)
        
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)
        
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
        
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
        
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
        
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
        
    at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
        
    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213)
        
    at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
        
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        
    at java.lang.reflect.Method.invoke(Method.java:601)
        
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
        
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
        
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
        
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)
        
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
        
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
        
    at java.lang.Thread.run(Thread.java:722)
    Caused byjava.lang.RuntimeExceptionDeferred binding failed for 'org.ergatech.web.application.integra.client.AdminDriver' (did you forget to inherit a required module?)
        
    at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
        
    at com.google.gwt.core.client.GWT.create(GWT.java:97)
        
    at org.ergatech.web.application.integra.client.modules.base.auth.admin.AdminWindow.<init>(AdminWindow.java:26)
        
    at org.ergatech.web.application.integra.client.modules.base.auth.admin.AdminModule.onNew(AdminModule.java:66)
        
    at org.ergatech.web.egwt.application.client.ui.ApplicationModule$1.onSelect(ApplicationModule.java:113)
        
    at com.sencha.gxt.widget.core.client.event.SelectEvent.dispatch(SelectEvent.java:65)
        
    at com.sencha.gxt.widget.core.client.event.SelectEvent.dispatch(SelectEvent.java:1)
        
    at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
        
    at com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40)
        
    at com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)
        
    at com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)
        
    at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:127)
        ... 
    31 more
    Caused by
    com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
        
    at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:595)
        
    at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:455)
        
    at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
        ... 
    42 more 
    PHP Code:
       <inherits name="javax.validation.Validation"/>
        <
    inherits name='com.google.gwt.editor.Editor' />
        <
    inherits name='com.sencha.gxt.ui.GXT' />
        <
    inherits name='com.sencha.gxt.chart.Chart' />
        <
    inherits name='com.sencha.gxt.theme.gray.Gray'/> 
    how can i resolve this problem??

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,734
    Vote Rating
    90
    Answers
    109
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Add the validation-api.jar to your classpath. If using maven, add something like this to your pom:
    Code:
            <dependency>
                <groupId>javax.validation</groupId>
                <artifactId>validation-api</artifactId>
                <version>1.0.0.GA</version>
                <classifier>sources</classifier>
            </dependency>
    Otherwise, get a copy of the jar and add it to your project. According to https://developers.google.com/web-to...uideValidation a copy of this is available in the GWT SDK download.

Thread Participants: 1