Results 1 to 2 of 2

Thread: not able to call a method

  1. #1

    Default not able to call a method

    hi

    i use spring 2.5 and gwt 1.5

    when i load my application i get this error

    i tried to debug, and that happen when i do a call to a method from my service

    Code:
    [ERROR] Unable to load module entry point class test.MainEntryTest (see associated exception for details)
    java.lang.ClassCastException: test.service.UserService_Proxy
    	at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:443)
    	at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:215)
    	at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    	at com.gwtext.client.widgets.Viewport.<init>(Viewport.java:63)
    	at test.MainEntryTest.onModuleLoad(MainEntryTest.java:99)
    	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)
    	at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:303)
    	at com.google.gwt.dev.shell.BrowserWidget.attachModuleSpace(BrowserWidget.java:324)
    any idea?

    thanks
    Last edited by robert_trudel; Sep 2nd, 2008 at 04:16 AM.

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,632

    Default

    Please use [ code][/code ] tags when posting. Post your code/configuration.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Posting Permissions

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