java.lang.NoClassDefFoundError: org/apache/tika/mime/MimeTypeException in cached.jsp

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

java.lang.NoClassDefFoundError: org/apache/tika/mime/MimeTypeException in cached.jsp

Mubey N.
I am using the latest trunk. Whenever I search something in it and
click on the cached link, I get this error from cached.jsp:-

java.lang.NoClassDefFoundError: org/apache/tika/mime/MimeTypeException
        java.lang.Class.forName0(Native Method)
        java.lang.Class.forName(Class.java:247)
        org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:524)
        org.apache.hadoop.io.WritableName.getClass(WritableName.java:72)
        org.apache.hadoop.io.SequenceFile$Reader.init(SequenceFile.java:1405)
        org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1360)
        org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1349)
        org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1344)
        org.apache.hadoop.io.MapFile$Reader.<init>(MapFile.java:254)
        org.apache.hadoop.io.MapFile$Reader.<init>(MapFile.java:242)
        org.apache.hadoop.mapred.MapFileOutputFormat.getReaders(MapFileOutputFormat.java:91)
        org.apache.nutch.searcher.FetchedSegments$Segment.getReaders(FetchedSegments.java:90)
        org.apache.nutch.searcher.FetchedSegments$Segment.getContent(FetchedSegments.java:68)
        org.apache.nutch.searcher.FetchedSegments.getContent(FetchedSegments.java:139)
        org.apache.nutch.searcher.NutchBean.getContent(NutchBean.java:346)
        org.apache.jsp.cached_jsp._jspService(cached_jsp.java:112)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

Is this a known bug in Nutch-1.0 Development version or is it a
mistake at my end?
Reply | Threaded
Open this post in threaded view
|

Re: java.lang.NoClassDefFoundError: org/apache/tika/mime/MimeTypeException in cached.jsp

chrismattmann
Hi Mubey,

I think that this has been identified as a potential bug. Please file a JIRA
issue:

http://issues.apache.org/jira/browse/NUTCH

And I (or any of the other developers) would be happy to investigate it for
you. I saw some chatter on the mailing lists the other day regarding this
and one of the other developers suggested that the tika jar is probably not
being copied over into the Nutch WAR file.

I'll check this out, but please, in the meantime file the bug report so that
we have a record of it moving forward.

Thanks!

Cheers,
 Chris



On 2/4/08 11:10 AM, "Mubey N." <[hidden email]> wrote:

> I am using the latest trunk. Whenever I search something in it and
> click on the cached link, I get this error from cached.jsp:-
>
> java.lang.NoClassDefFoundError: org/apache/tika/mime/MimeTypeException
> java.lang.Class.forName0(Native Method)
> java.lang.Class.forName(Class.java:247)
> org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:524)
> org.apache.hadoop.io.WritableName.getClass(WritableName.java:72)
> org.apache.hadoop.io.SequenceFile$Reader.init(SequenceFile.java:1405)
> org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1360)
> org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1349)
> org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1344)
> org.apache.hadoop.io.MapFile$Reader.<init>(MapFile.java:254)
> org.apache.hadoop.io.MapFile$Reader.<init>(MapFile.java:242)
> org.apache.hadoop.mapred.MapFileOutputFormat.getReaders(MapFileOutputFormat.ja
> va:91)
> org.apache.nutch.searcher.FetchedSegments$Segment.getReaders(FetchedSegments.j
> ava:90)
> org.apache.nutch.searcher.FetchedSegments$Segment.getContent(FetchedSegments.j
> ava:68)
> org.apache.nutch.searcher.FetchedSegments.getContent(FetchedSegments.java:139)
> org.apache.nutch.searcher.NutchBean.getContent(NutchBean.java:346)
> org.apache.jsp.cached_jsp._jspService(cached_jsp.java:112)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393>
)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>
> Is this a known bug in Nutch-1.0 Development version or is it a
> mistake at my end?

______________________________________________
Chris Mattmann, Ph.D.
[hidden email]
Cognizant Development Engineer
Early Detection Research Network Project
_________________________________________________
Jet Propulsion Laboratory            Pasadena, CA
Office: 171-266B                     Mailstop:  171-246
_______________________________________________________

Disclaimer:  The opinions presented within are my own and do not reflect
those of either NASA, JPL, or the California Institute of Technology.