Results 1 to 5 of 5

Thread: Not able to run the application after including gwtext.jar2Posted: Thu Apr 24, 2008 3

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Not able to run the application after including gwtext.jar2Posted: Thu Apr 24, 2008 3

    Hi,

    I included gwtext.jar 2 and gwtextux.jar in my project.
    After this when I run the project there is a java script error "Ext is undefined".
    And in log files I see -
    [ERROR] Unable to load module entry point class com.nl.client.VWBSampleApp (see associated exception for details)
    com.google.gwt.core.client.JavaScriptException: JavaScript TypeError exception: Object expected
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:481)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:270)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:137)
    at com.gwtext.client.widgets.Component.init(Component.java:100)
    at com.gwtext.client.widgets.Component.<clinit>(Component.java:89)
    at com.nl.client.VWBFinance.loadFinance(VWBFinance.java:23)
    at com.nl.client.VWBSampleApp.onModuleLoad(VWBSampleApp.java:45)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)

    I have added jar files to my project and made changes in module config-
    <module>

    <!-- Inherit the core Web Toolkit stuff. -->
    <inherits name='com.google.gwt.user.User'/>
    <inherits name='com.gwtext.GwtExt' />
    <inherits name='com.gwtextux.GwtExtUx'/>
    <!-- Specify the app entry point class. -->
    <entry-point class='com.nl.client.VWBSampleApp'/>
    <stylesheet src="js/ext/resources/css/ext-all.css" />
    <script src="js/ext/adapter/ext/ext-base.js" />
    <script src="js/ext/ext-all.js" />
    </module>

    I have copied js folder to public folder.

    There is a strange, when view my project in JDeveloper js folder is not displayed as a package like client, server folders. Please see attachment.
    After rebuilding the project public folder in output directory(www) is empty. It does not have js folder files.

    Thanks,
    Mandy

    Not able to run the application after including gwtext.jar2
    Attached Images Attached Images

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •