solr配置 相关问题

catalina.out中报错

严重: One or more Filters failed to start. Full details will be found in the appropriate container log file

三月 04, 2017 12:52:21 上午 org.apache.catalina.core.StandardContext startInternal

严重: Context [/solr] startup failed due to previous errors

三月 04, 2017 12:52:21 上午 org.apache.catalina.startup.HostConfig deployDirectory

三月 04, 2017 12:49:35 上午 org.apache.catalina.core.StandardContext filterStart

严重: Exception starting filter SolrRequestFilter

java.lang.UnsupportedClassVersionError: org/apache/solr/servlet/SolrDispatchFilter : Unsupported major.minor version 52.0 (unable to load class org.apache.solr.servlet.SolrDispatchFilter)

at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:3118)

at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:1342)

at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1823)

jdk版本 换成jdk8 然后 tomcat也换成tomcat8

三月 04, 2017 12:49:35 上午 org.apache.catalina.core.StandardContext filterStart

严重: Exception starting filter SolrRequestFilter

java.lang.UnsupportedClassVersionError: org/apache/solr/servlet/SolrDispatchFilter : Unsupported major.minor version 52.0 (unable to load class org.apache.solr.servlet.SolrDispatchFilter)

at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:3118)

at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:1342)

at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1823)

/Users/fengbin/soft/solr/solr-6.4.1/server/lib 目录下的

metrics- 包拷贝 到solr 项目下.