• 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

Invalid package name. 'public' is not a valid Java identifier

 
Ranch Hand
Posts: 308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
in the documentation of gwt
Public Path
it mentions


The default public path is the public subdirectory underneath where the Module XML File is stored.



but I try using the gwt tutorial and create a package
com.google.gwt.sample.stockwatcher.public
ecplise prompt out error


so how to create a 'public' package?

Also, I found that the static resources can be placed under war directory like
war/images/xxx.png
and get the image with path "/images/xxx.png",
so why still need to create a "public" package underneath where the Module XML File is stored (not mention it is not allowed to create such a "public" folder)?
 
I hired a bunch of ninjas. The fridge is empty, but I can't find them to tell them the mission.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic