本文介绍了CKAN/Solr:未配置JSP支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在ubuntu 14.04(基本OS Freya 0.3)上安装CKAN时,我在执行以下步骤时遇到问题

I have problem following steps while installing CKAN on ubuntu 14.04 (elementary OS Freya 0.3)

具体来说,这是一个: http://docs.ckan.org /en/latest/maintaining/installing/install-from-source.html#setup-solr

Specifically this one:http://docs.ckan.org/en/latest/maintaining/installing/install-from-source.html#setup-solr

当我启动JPS服务器并打开 http://localhost:8983/solr/时,我有以下内容错误:

When I start JPS server and open http://localhost:8983/solr/ I have the following error:

HTTP ERROR 500

Problem accessing /solr/index.jsp. Reason:

    JSP support not configured
Powered by Jetty://

你能告诉我会发生什么吗?添加JAVA_HOME=/usr/lib/jvm/java-8-oracle 进行码头配置无济于事.

Can you tell me what happen? Adding JAVA_HOME=/usr/lib/jvm/java-8-oracle to jetty config does not help.

推荐答案

我按照此处的说明进行了操作-

I followed the instructions here and it worked --

https://github.com/ckan/ckan/pull/2966

cd /tmp
wget https://launchpad.net/~vshn/+archive/ubuntu/solr/+files/solr-jetty-jsp-fix_1.0.2_all.deb
sudo dpkg -i solr-jetty-jsp-fix_1.0.2_all.deb
sudo service solr restart

这篇关于CKAN/Solr:未配置JSP支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 14:11