This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

GWT bean reference problem

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • 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: 5000
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!