• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

GWT bean reference problem

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.

I'm developing a new GWT application. My new app references a jar that contains some Beans.
In the new app server side class I have a method that returns the bean in the referenced jar. I got an error : No source code available for this bean.

I tried to create a clone of this bean in my gwt app but get a serialization problem that my bean in the referenced jar doesn't serialize.

Could you help me please.

Good day.
Amine.
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I add a new major library, like gwt-ext.jar, I need to add an 'inherits' to the xml file. If I don't, I get that same "source code not found error." The inherits looks something like this:

<inherits name="com.gwtext.GwtExt"/>
 
Mohammed Amine Tazi
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Thanks for the response. The problem is "inherits" looks just for gwt.xml files, so it appends it automatically to the name attribute of "inherits" tag.
if I put <inherits name="zoltar"/>, it gives me an error kind of : "error parsing xml, zoltar.gwt.xml not found".

Good day,
Amine.
 
reply
    Bookmark Topic Watch Topic
  • New Topic