How to solve this java.lang.NoClassDefFoundError: org/apache/commons/io/output/DeferredFileOutputStream?

The particular exception message is telling you that the mentioned class is missing in the classpath. As the org.apache.commons.io package name hints, the mentioned class is part of the http://commons.apache.org/io project. And indeed, Commons FileUpload has Commons IO as a dependency. You need to download and drop commons-io.jar in the /WEB-INF/lib as well. See also: … Read more

Eclipse – How can I change a ‘Project Facet’ from Tomcat 6 to Tomcat 5.5?

This is kind of hacking eclipse and you can get into trouble doing this but this should work: Open the navigator view and find that there is a .settings folder under your project expand it and then open the file: org.eclipse.wst.common.project.facet.core.xml you should see a line that says: <installed facet=”jst.web” version=”2.5″/> Change that to 2.4 … Read more

Eclipse “Server Locations” section disabled and need to change to use Tomcat installation

Ok, sorry for my previous answer, I had never seen that Overview screen before. Here is how I did it: Right click on my tomcat server in “Servers” view, select “Properties…” In the “General” panel, click on the “Switch Location” button The “Location: [workspace metadata]” bit should have been replaced by something else. Open (or … Read more

tech