lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James liu" <liuping.ja...@gmail.com>
Subject Re: Question: Is it Parse error or tomcat not find "jeasy.analysis.MMAnalyzer"
Date Thu, 22 Mar 2007 04:49:44 GMT
I just change analyzer from "jeasy.analysis.MMAnalyzer"  to"*
org.apache.lucene.analysis.standard.StandardAnalyzer*"

it will work well.

but i write test.java to use "jeasy.analysis.MMAnalyzer" and test.java work
well.




2007/3/22, James liu <liuping.james@gmail.com>:
>
>
> Is it Parse error or tomcat not find "jeasy.analysis.MMAnalyzer"
>
> tomcat lib have this class jar. and set classpath to it.
>
> winxp + tomcat 6+ java 1.6, it work well.
>
> now i use freebsd6+tomcat 6+java 1.5_07(i recompiled solr.war)
>
> any one can help me to fix it?
>
>
>
> tomcat log(localhost.2007-03-22.log)
>
> Mar 22, 2007 10:55:07 AM org.apache.catalina.core.ApplicationContext log
> > SEVERE: StandardWrapper.Throwable
> > org.apache.solr.core.SolrException: Schema Parsing Failed
> >     at org.apache.solr.schema.IndexSchema.readConfig (IndexSchema.java
> > :441)
> >     at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:69)
> >     at org.apache.solr.core.SolrCore.<init>(SolrCore.java:191)
> >     at org.apache.solr.core.SolrCore.getSolrCore (SolrCore.java:172)
> >     at org.apache.solr.servlet.SolrServlet.init(SolrServlet.java:72)
> >     at javax.servlet.GenericServlet.init(GenericServlet.java:212)
> >     at org.apache.catalina.core.StandardWrapper.loadServlet (
> > StandardWrapper.java:1161)
> >     at org.apache.catalina.core.StandardWrapper.load(
> > StandardWrapper.java:981)
> >     at org.apache.catalina.core.StandardContext.loadOnStartup(
> > StandardContext.java:4044)
> >     at org.apache.catalina.core.StandardContext.start (
> > StandardContext.java:4350)
> >     at org.apache.catalina.core.ContainerBase.addChildInternal(
> > ContainerBase.java:761)
> >     at org.apache.catalina.core.ContainerBase.addChild(
> > ContainerBase.java:741)
> >     at org.apache.catalina.core.StandardHost.addChild (StandardHost.java
> > :525)
> >     at org.apache.catalina.startup.HostConfig.deployDescriptor(
> > HostConfig.java:626)
> >     at org.apache.catalina.startup.HostConfig.deployDescriptors(
> > HostConfig.java:553)
> >     at org.apache.catalina.startup.HostConfig.deployApps (
> > HostConfig.java:488)
> >     at org.apache.catalina.startup.HostConfig.start(HostConfig.java
> > :1138)
> >     at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> > HostConfig.java:311)
> >     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (
> > LifecycleSupport.java:120)
> >     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
> > :1023)
> >     at org.apache.catalina.core.StandardHost.start(StandardHost.java
> > :719)
> >     at org.apache.catalina.core.ContainerBase.start (ContainerBase.java
> > :1015)
> >     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java
> > :443)
> >     at org.apache.catalina.core.StandardService.start(
> > StandardService.java:448)
> >     at org.apache.catalina.core.StandardServer.start (
> > StandardServer.java:710)
> >     at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
> >     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:585)
> >     at org.apache.catalina.startup.Bootstrap.start (Bootstrap.java:288)
> >     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> > Caused by: java.lang.ClassCastException: jeasy.analysis.MMAnalyzer
> >     at org.apache.solr.schema.IndexSchema.readAnalyzer (IndexSchema.java
> > :468)
> >     at org.apache.solr.schema.IndexSchema.readConfig(IndexSchema.java
> > :296)
> >     ... 31 more
> > Mar 22, 2007 10:55:07 AM org.apache.catalina.core.StandardContextloadOnStartup
> > SEVERE: Servlet /solr1 threw load() exception
> > java.lang.ClassCastException: jeasy.analysis.MMAnalyzer
> >     at org.apache.solr.schema.IndexSchema.readAnalyzer(IndexSchema.java
> > :468)
> >     at org.apache.solr.schema.IndexSchema.readConfig(IndexSchema.java
> > :296)
> >     at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:69)
> >     at org.apache.solr.core.SolrCore.<init>(SolrCore.java:191)
> >     at org.apache.solr.core.SolrCore.getSolrCore(SolrCore.java:172)
> >     at org.apache.solr.servlet.SolrServlet.init(SolrServlet.java:72)
> >     at javax.servlet.GenericServlet.init(GenericServlet.java:212)
> >     at org.apache.catalina.core.StandardWrapper.loadServlet(
> > StandardWrapper.java :1161)
> >     at org.apache.catalina.core.StandardWrapper.load(
> > StandardWrapper.java:981)
> >     at org.apache.catalina.core.StandardContext.loadOnStartup(
> > StandardContext.java:4044)
> >     at org.apache.catalina.core.StandardContext.start (
> > StandardContext.java:4350)
> >     at org.apache.catalina.core.ContainerBase.addChildInternal(
> > ContainerBase.java:761)
> >     at org.apache.catalina.core.ContainerBase.addChild(
> > ContainerBase.java:741)
> >     at org.apache.catalina.core.StandardHost.addChild (StandardHost.java
> > :525)
> >     at org.apache.catalina.startup.HostConfig.deployDescriptor(
> > HostConfig.java:626)
> >     at org.apache.catalina.startup.HostConfig.deployDescriptors(
> > HostConfig.java:553)
> >     at org.apache.catalina.startup.HostConfig.deployApps (
> > HostConfig.java:488)
> >     at org.apache.catalina.startup.HostConfig.start(HostConfig.java
> > :1138)
> >     at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> > HostConfig.java:311)
> >     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (
> > LifecycleSupport.java:120)
> >     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
> > :1023)
> >     at org.apache.catalina.core.StandardHost.start(StandardHost.java
> > :719)
> >     at org.apache.catalina.core.ContainerBase.start (ContainerBase.java
> > :1015)
> >     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java
> > :443)
> >     at org.apache.catalina.core.StandardService.start(
> > StandardService.java:448)
> >     at org.apache.catalina.core.StandardServer.start (
> > StandardServer.java:710)
> >     at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
> >     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:585)
> >     at org.apache.catalina.startup.Bootstrap.start (Bootstrap.java:288)
> >     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> > Mar 22, 2007 10:55:11 AM org.apache.catalina.core.ApplicationContext log
> > INFO: ContextListener: contextInitialized()
> > Mar 22, 2007 10:55:11 AM org.apache.catalina.core.ApplicationContext log
> > INFO: SessionListener: contextInitialized()
> >
> >
> --
> regards
> jl




-- 
regards
jl

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message