This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Servlets and the fly likes UnavailableException problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "UnavailableException problem" Watch "UnavailableException problem" New topic

UnavailableException problem

Meng Tan
Ranch Hand

Joined: Jan 20, 2001
Posts: 115
I got an error message when compiling the following class I created myself :
public class AnotherUnavailableException extends javax.servlet.UnavailableException {
The compilation error message is :
D:\jakarta-tomcat-4.0.1\webapps\ch05\WEB-INF\classes>javac -classpath %j2ee_home
%\lib\j2ee.jar cannot resolve symbol
symbol : constructor UnavailableException ()
location: class javax.servlet.UnavailableException
public class AnotherUnavailableException extends javax.servlet.UnavailableExcept
ion {
1 error
And when I replace UnavailableException with ServletException as the base class, it is OK.
I dont know what is wrong.
Please help!
Meng Tan
Ranch Hand

Joined: Jan 20, 2001
Posts: 115
Sorry, please ignore the problem. I managed to find the cause.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: UnavailableException problem