dear Community. I have a problem - when I am trying to put data to ES using Logstash I get this error, I am using ingest_attachment plugin:

java.lang.NoClassDefFoundError: org/apache/james/mime4j/codec/DecodeMonitor at ~[?:?] at ~[?:?] at ~[?:?] at ~[?:?] at ~[?:?] at org.apache.tika.parser.CompositeParser.parse( ~[?:?] at org.apache.tika.parser.AutoDetectParser.parse( ~[?:?] at org.apache.tika.Tika.parseToString( ~[?:?] at org.elasticsearch.ingest.attachment.TikaImpl$ ~[?:?] at org.elasticsearch.ingest.attachment.TikaImpl$ ~[?:?] at Method) ~[?:1.8.0_121] at org.elasticsearch.ingest.attachment.TikaImpl.parse( ~[?:?] at org.elasticsearch.ingest.attachment.AttachmentProcessor.execute( ~[?:?] at org.elasticsearch.ingest.CompoundProcessor.execute( ~[elasticsearch-5.2.0.jar:5.2.0] at org.elasticsearch.ingest.Pipeline.execute( ~[elasticsearch-5.2.0.jar:5.2.0] at org.elasticsearch.ingest.PipelineExecutionService.innerExecute( ~[elasticsearch-5.2.0.jar:5.2.0] at org.elasticsearch.ingest.PipelineExecutionService.access$000( ~[elasticsearch-5.2.0.jar:5.2.0] at org.elasticsearch.ingest.PipelineExecutionService$2.doRun( ~[elasticsearch-5.2.0.jar:5.2.0] at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun( ~[elasticsearch-5.2.0.jar:5.2.0] at ~[elasticsearch-5.2.0.jar:5.2.0] at java.util.concurrent.ThreadPoolExecutor.runWorker( ~[?:1.8.0_121] at java.util.concurrent.ThreadPoolExecutor$ ~[?:1.8.0_121] at [?:1.8.0_121] Caused by: java.lang.ClassNotFoundException: org.apache.james.mime4j.codec.DecodeMonitor at ~[?:1.8.0_121] at java.lang.ClassLoader.loadClass( ~[?:1.8.0_121] at ~[?:1.8.0_121] at java.lang.ClassLoader.loadClass( ~[?:1.8.0_121] ... 23 more

Formats that I am trying to index are: .URL .a .ans .asc .ascx .asm .asp .aspx .asx .bas .bat .bcp .c .cc .cls .cmd .cpp .cs .csa .csproj .css .csv .cxx .dbs .def .dic .doc .docm .docx .dos .dot .dotx .dsp .dsw .dwfx .easmx .edrwx .eprtx .ext .faq .fky .h .hhc .hpp .hta .htm .html .htt .htw .htx .hxx .i .ibq .ics .idl .idq .inc .inf .ini .inl .inx .jav .java .jnt .js .jtx .kci .lgn .log .lst .m3u .mak .mht .mhtml .mk .msg .obd .obt .odc .odh .odl .odp .ods .odt .one .p7m .pdf .pkgdef .pkgundef .pl .pot .pps .ppt .pptm .pptx .prc .rc .rc2 .rct .reg .rgs .rtf .rul .s .scc .shtm .shtml .snippet .sol .sor .sql .srf .stm .tab .tdl .tlh .tli .trg .txt .udf .udt .url .user .usr .vb .vbproj .vbs .vcproj .vdw .vdx .viw .vsct .vsd .vsdm .vsdx .vsixlangpack .vsixmanifest .vspscc .vss .vsscc .vssm .vssscc .vssx .vst .vstm .vstx .vsx .vtx .wiq .wri .wtx .xlb .xlc .xls .xlsb .xlsm .xlsx .xlt .xml .xps .xsd .xsl .xslt .zip

How can I fix it?

I'm facing same problem. Can anyone help us ?

This has been fixed I believe with:

Will be part of 5.2.1 which should be released soon AFAIK.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.