lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Kotthoff (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-681) ClassNotFoundException
Date Fri, 08 Aug 2008 01:56:44 GMT

    [ https://issues.apache.org/jira/browse/SOLR-681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620807#action_12620807
] 

Lars Kotthoff commented on SOLR-681:
------------------------------------

It looks like you're missing the commons-fileupload-1.2.jar in your webapp's lib directory.
Did you try deleting the work directory and redeploying the application (remove example/work/Jetty*
if you're using the example configuration)? I cannot reproduce this.

> ClassNotFoundException
> ----------------------
>
>                 Key: SOLR-681
>                 URL: https://issues.apache.org/jira/browse/SOLR-681
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.3
>            Reporter: Raghu kashyap
>
> Here is the exception that I see on the console logs when I try to index a small file.

> Aug 7, 2008 2:50:52 PM org.apache.solr.common.SolrException log
> SEVERE: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/servlet/ServletFileUpload
>         at org.apache.solr.servlet.StandardRequestParser.parseParamsAndFillStreams(SolrRequestParsers.java:394)
>         at org.apache.solr.servlet.SolrRequestParsers.parse(SolrRequestParsers.java:113)
>         at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:257)
>         at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
>         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
>         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
>         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:56)
>         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.ClassNotFoundException: org.apache.commons.fileupload.servlet.ServletFileUpload
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 27 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message