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

build error

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • Quote
  • Report post to moderator
Thanks Suhas , it worked : )
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!