This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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

I agree. Here's the link:
subject: compilation error
Similar Threads
Tomcat & MS Active Directory
Encapsulation and getter&setter methods
i have a Errors in Hibernate Query
File not found error