File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes compilation error 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 » Servlets
Bookmark "compilation error" Watch "compilation error" New topic

compilation error

aparna rudra

Joined: Apr 06, 2004
Posts: 14

when i am trying to compile my filewritten in servlets i get this compuilation error. wht does this error means?

can anyone help me?
thanks uses or overrides a deprecated API.
Recompile with -deprecation for details.
nilesh Katakkar
Ranch Hand

Joined: Oct 27, 2004
Posts: 35
The jar file that contains servlet api in your classpath supports a particular version, and your servlet is using some API function from older version.

nilesh<br />
Ramaswamy Srinivasan
Ranch Hand

Joined: Aug 31, 2004
Posts: 295
Hi Aparna Rudra,

Did u try using the request.putValue(); mothod in your code?

If so, it is deprecated and you will get such warning.

It is one of the reasons for such a warning

Consider Paul's rocket mass heater.
subject: compilation error
jQuery in Action, 3rd edition