2017-02-01 9 views
-1

私はこのエラーを取得するLogstashを使用してESにデータを置くしようとしています、私はingest_attachmentプラグインを使用しています:私はインデックスにしようとしていますエラー(NoClassDefFoundErrorが)

java.lang.NoClassDefFoundError: org/apache/james/mime4j/codec/DecodeMonitor at org.apache.tika.parser.microsoft.OutlookExtractor.decodeHeader(OutlookExtractor.java:349) ~[?:?] at org.apache.tika.parser.microsoft.OutlookExtractor.normalizeHeaders(OutlookExtractor.java:315) ~[?:?] at org.apache.tika.parser.microsoft.OutlookExtractor.parse(OutlookExtractor.java:140) ~[?:?] at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:193) ~[?:?] at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:130) ~[?:?] at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280) ~[?:?] at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120) ~[?:?] at org.apache.tika.Tika.parseToString(Tika.java:568) ~[?:?] at org.elasticsearch.ingest.attachment.TikaImpl$1.run(TikaImpl.java:94) ~[?:?] at org.elasticsearch.ingest.attachment.TikaImpl$1.run(TikaImpl.java:91) ~[?:?] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_121] at org.elasticsearch.ingest.attachment.TikaImpl.parse(TikaImpl.java:91) ~[?:?] at org.elasticsearch.ingest.attachment.AttachmentProcessor.execute(AttachmentProcessor.java:86) ~[?:?] at org.elasticsearch.ingest.CompoundProcessor.execute(CompoundProcessor.java:100) ~[elasticsearch-5.2.0.jar:5.2.0] at org.elasticsearch.ingest.Pipeline.execute(Pipeline.java:58) ~[elasticsearch-5.2.0.jar:5.2.0] at org.elasticsearch.ingest.PipelineExecutionService.innerExecute(PipelineExecutionService.java:166) ~[elasticsearch-5.2.0.jar:5.2.0] at org.elasticsearch.ingest.PipelineExecutionService.access$000(PipelineExecutionService.java:41) ~[elasticsearch-5.2.0.jar:5.2.0] at org.elasticsearch.ingest.PipelineExecutionService$2.doRun(PipelineExecutionService.java:88) ~[elasticsearch-5.2.0.jar:5.2.0] at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:596) ~[elasticsearch-5.2.0.jar:5.2.0] at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-5.2.0.jar:5.2.0] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[?:1.8.0_121] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[?:1.8.0_121] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121] Caused by: java.lang.ClassNotFoundException: org.apache.james.mime4j.codec.DecodeMonitor at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_121] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_121] at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:814) ~[?:1.8.0_121] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_121] ... 23 more

形式であります:

.URL .A .ans .ASC た.ascx .ASM の.asp .aspxの は.asx の.BAS れる.bcp .C .CCの.cls .CMDの.cpp の.cs .CSA .csprojの.css の.csv .CXX .dbs .DEF .BAT。 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の .jav .INX .jav .inlの.inf の.ini の.inc .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 .vsssc C .vssx .VST .vstm .vstx .vsx .vtx .wiq .WRI .wtx .xlb .xlcの.xls .xlsb .xlsmの.xlsx .XLT私はelasticsearch李の下にjarファイルを追加することによって、これを修正した.xmlファイル .xps の.xsd の.xsl .xslt .zipファイル

+0

たぶん、あなたは[ツアー]を取る必要があります(http://stackoverflow.com/help/how-to-ask) – Kulasangar

答えて

関連する問題