File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes AbstractStringBuilder is not visible Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "AbstractStringBuilder is not visible" Watch "AbstractStringBuilder is not visible" New topic

AbstractStringBuilder is not visible

sreejith panampilly
Ranch Hand

Joined: Jun 15, 2006
Posts: 49
when compiling the following code i am getting a compiler error "The type AbstractStringBuilder is not visible"

StringBuffer sb=new StringBuffer();
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15037

The error message is not caused by those two lines of code directly. Please show us some more of your code. The compiler tells you exactly in which line of code the error occurs - have a good look at that line of code in your source file.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: AbstractStringBuilder is not visible
It's not a secret anymore!