• 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Cannot find the class file for java.lang.CharSequence

 
Ranch Hand
Posts: 1402
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have searched the internet and I know that the .class is in rt.jar but when I try to search for it in http://www.findjar.com but it says 3 caracters are needed and it doesn´t download the JAR:



Any advice, please?

Regards,
 
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you trying to download rt.jar ? It's included in the JRE.
 
Marshal
Posts: 70233
282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you getting a compile‑time error or something?
 
Angus Ferguson
Ranch Hand
Posts: 1402
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I run the project it works and doesn´t throw any console message of error, but in the class for load the GWT components it gives this one:



As I´m using Maven I need to add target/generated-sources/gwt to the Eclipse build path. I don´t know how to do it also, could I add it to POM.xml in Maven?

Regards,

 
Bartender
Posts: 10777
71
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Isaac Ferguson wrote:When I run the project it works and doesn´t throw any console message of error, but in the class for load the GWT components it gives this one:


Which suggests that either:
(a) This is one of YOUR classes, and you aren't naming them correctly, or
(b) You've spelt it wrong, and it should be GreetingServiceASync.

Java is case-sensitive, so you can't just type in something that looks similar; it has to be correct.

Winston
 
keep an eye out for scorpions and black widows. But the tiny ads are safe.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic