[Solr] JapanesePartOfSpeechStopFilterFactory : java.lang.ClassCastException: java.lang.String cannot be cast to [C

Pocket

Solr で JapanesePartOfSpeechStopFilterFactory を使うように schema.xml を修正すると、java.lang.ClassCastException が発生してしまう。

解決方法は現在、調査中です。

HTTP ERROR 500
 
Problem accessing /solr/admin/. Reason:
 
    Severe errors in solr configuration.
 
Check your log files for more detailed information on what may be wrong.
 
If you want solr to continue after configuration errors, change: 
 
 <abortOnConfigurationError>false</abortOnConfigurationError>
 
in solr.xml
 
-------------------------------------------------------------
java.lang.ClassCastException: java.lang.String cannot be cast to [C
	at org.apache.solr.analysis.JapanesePartOfSpeechStopFilterFactory.inform(JapanesePartOfSpeechStopFilterFactory.java:54)
	at org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:551)
	at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:124)
	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:478)
	at org.apache.solr.core.CoreContainer.load(CoreContainer.java:332)
	at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:165)
	at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:96)
	at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.jetty.Server.doStart(Server.java:224)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.mortbay.start.Main.invokeMain(Main.java:194)
	at org.mortbay.start.Main.start(Main.java:534)
	at org.mortbay.start.Main.start(Main.java:441)
	at org.mortbay.start.Main.main(Main.java:119)
  1. コメントはまだありません。

  1. トラックバックはまだありません。