I am new to Java and trying to develop a Java web application with a feature to browse the server's file system. The functionality works fine when I run the application in Eclipse but if I generate a WAR file (via "Export as WAR" in Eclipse) and deploy on Tomcat 7, it throws a NoClassDefFound
error.
I have placed the required jar in the WEB-INB/lib
folder and also noticed the jar is available after deployment.
first check your BuildPath. Your jars are added to build path are not.check with this link