gpt4 book ai didi

java - 即使安装成功,Dspace 也不显示页面

转载 作者:行者123 更新时间:2023-11-28 22:29:24 26 4
gpt4 key购买 nike

我按照以下步骤安装 dspace

1) Installed Java 1.6 and path was set in system variable as well as the user variable `JAVA_HOME`
2) Unzipped apache ant 1.9.4 and apache maven 3.2.3 and saved in C:/ drive
3) The path was set for apache ant and apache maven in system variables as well as user variable `ANT_HOME` was created
4) Installed Postgresql 8.4.22-1 and connected to postgres database, created a new login role and a new database called dspace
5) Installed Apache Tomcat 6.0.41 and the service was started
6) Copied dspace 3.1 src release in C:/ drive and created a folder C:/dspace for dspace installation
7) In the dspace.cfg file following values were set:
a) dspace.dir = C:\dspace-3.1-src-release\dspace (have set this path coz nothing gets installed to C:/dspace folder although its specified in the manual)
b) dspace.hostname = the host URL
c) dspace.baseUrl = the host URL port 8080
d) dspace.url = the host URL port 8080/jspui
e) dspace.name = "Digital Library"
f) db.name = postgres
g) db.url = jdbc:postgresql://localhost port 5432/dspace
h) db.driver = org.postgresql.Driver
i) db.username = dspace
db.password = dspace
8) Through the command prompt changed the directory to C:\dspace-3.1-src-release\dspace and
9) the command mvn package was run message "BUILD SUCCESSFUL" was displayed
10) During the execution of the command mvn package several files were downloaded to C:\dspace-3.1-src-release\dspace\target
11) Through the command prompt changed the directory to C:\dspace-3.1-src-release\dspace\target\dspace-3.1-build and the command ant fresh_install was run (here the manual asks to run the command through directory C:\dspace\bin but theres nothing installed to dspace folder and thus no bin too so it cant be run)
12) The build was successful
13) Through the command prompt changed the directory to C:\dspace-3.1-src-release\dspace\target\dspace-3.1-build\bin and the command dspace create-administrator was run
14) An administrator account was created successfully
15) Both the Postgres and Apache Tomcat server were started
16) The 3 folders jspui, xmlui and oai from dspace \ webapps… was copied and pasted these folders in C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps
17) Through Mozilla Firefox localhost port 8080 /jspui/ was visited and 404 status error is found saying requested resource is not available

最佳答案

对于windows用户,在安装DSpace的过程中很容易忽略路径分隔符中反斜杠的使用。此处提到:DSpace Windows Installation

  • 所有路径分隔符都使用正斜杠(例如“/”)。例如:“C:/dspace”是有效的 Windows 路径。但是,请注意“C:\dspace”是无效的并且会导致错误。

关于java - 即使安装成功,Dspace 也不显示页面,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26965494/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com