• 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

build error

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I am trying to run this class


my gwt xml file is


launch file is


but when I build I get this error :

Buildfile: C:\gwt-2.0.0\expenseWatcher\build.xml
libs:
javac:
[mkdir] Created dir: C:\gwt-2.0.0\expenseWatcher\war\WEB-INF\classes
[javac] Compiling 4 source files to C:\gwt-2.0.0\expenseWatcher\war\WEB-INF\classes
[copy] Copying 1 file to C:\gwt-2.0.0\expenseWatcher\war\WEB-INF\classes
gwtc:
[java] Compiling module com.google.gwt.sample.expensewatcher.ExpenseWatcher
[java] Finding entry point classes
[java] [ERROR] Unable to find type 'com.google.gwt.sample.expensewatcher.client.expenseWatcher'
[java] [ERROR] Hint: Previous compiler errors may have made this type unavailable
[java] [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly

BUILD FAILED
C:\gwt-2.0.0\expenseWatcher\build.xml:36: Java returned: 1

Total time: 12 seconds


any one can tell me what is wrong here

thanks
Layla
 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Layla,

It seems that you have used lower case while declaring the ExpenseWatcher class in your gwt.xml file



change it to


Regards,
Suhas
 
Layla Rashid
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Suhas , it worked : )
 
You learn how to close your eyes and tell yourself "this just isn't really happening to me." Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic