• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

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 : )
 
Make yourself as serene as a flower, as a tree. And on wednesdays, as serene as this tiny ad:
Enterprise-grade Excel API for Java
https://products.aspose.com/cells/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!