• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

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 : )
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic