How To Fic NoClassDefFoundError? -
im trying upload files using ftp client when deploy application on local machine upload files server without issue when use same application on server upload files same server got exception
error tp-processor719 org.apache.catalina.core.containerbase.[catalina].[jodads.com].[/shayaktiadmin].[uploaditem] - servlet.service() servlet uploaditem threw exception java.lang.noclassdeffounderror: org/apache/tomcat/util/http/fileupload/servlet/servletfileupload @ com.shayakti.servlet.uploaditemservlet.processrequest(uploaditemservlet.java:99) @ com.shayakti.servlet.uploaditemservlet.dopost(uploaditemservlet.java:424) @ javax.servlet.http.httpservlet.service(httpservlet.java:637) @ javax.servlet.http.httpservlet.service(httpservlet.java:717) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:290) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:233) @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:191) @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:127) @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:103) @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:109) @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:293) @ org.apache.jk.server.jkcoyotehandler.invoke(jkcoyotehandler.java:190) @ org.apache.jk.common.handlerrequest.invoke(handlerrequest.java:311) @ org.apache.jk.common.channelsocket.invoke(channelsocket.java:776) @ org.apache.jk.common.channelsocket.processconnection(channelsocket.java:705) @ org.apache.jk.common.channelsocket$socketconnection.runit(channelsocket.java:898) @ org.apache.tomcat.util.threads.threadpool$controlrunnable.run(threadpool.java:690) @ java.lang.thread.run(thread.java:662)
before post try figure out problem , search of posts tell common-io missing server lib download common-io jar , add application re uploaded server there no hope :(
i contact server host support , tell me tomcat use on local machine contains lib not provided in server tomcat !!!
im hopeless dont should !!!
what version of tomcat on server? looks servletfileupload introduced in tomcat 7. http://mavenhub.com/c/org/apache/tomcat/util/http/fileupload/servlet/servletfileupload/jar
Comments
Post a Comment