This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I think since the package exists in both the folders the folder that is first accessed by the compiler is that of the Windows program files or in your given list the second one
so what the compiler does is that it first finds in this package it fails to get the required pacakage
For the solution just remove the package from the program files and see what happens.....
Joined: Dec 11, 2009
means remove commons- fileupload-1.0.jar file from C:\Program Files\Java\jre1.6.0\lib\ext folder
are you telling this ?
What libraries are you deploying? What libraries did you remove from the Tomcat lib directories? If you're getting that message in Tomcat you've done something very wrong. Right now it just seems like you're trying things at random.
Joined: Dec 11, 2009
in my app. web-inf/lib folder
servlet-api.jar and commons-filrupload-1.2.1.jar both files are saved
and i saw servlet-api.jar it contains servletinputstream class
yet the error will show?
i don't understand why?
Then, I am not able to figure out the cause, can you redeploy your whole application, by removing servlet-api.jar from your applications web-inf lib folder and see.. Also, restart the tomcat server before redeploying it..
Joined: Oct 26, 2006
I would suggest you unpack the zip downloaded again from tomcat site and deploy your application in it. While during all this trial and error some jar file must have got deleted.
David Newton wrote:What libraries are you deploying? What libraries did you remove from the Tomcat lib directories?
You're only deploying two libraries with your application?
In any case, you *must* not deploy any JEE API jars with your application. It'd be quicker to just answer the question(s), but okay. At this point it probably *would* be quicker for you to reinstall Tomcat.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com