我从4.2升级到DSpace 5.0。我刚刚安装了DSpace 5.0。也就是说,在构建和部署之前,我创建了一个新数据库和一个新的安装文件夹。在[dspace-source] /build.properties中,我将jspui指定为我的用户界面。安装后我无法从浏览器访问jspui,而xmlui工作正常。 jspui显示为空白页。
有人能帮助我吗?提前致谢
Here是我的dspace错误日志。
答案 0 :(得分:1)
就我而言,当我遇到该错误时,我将<artifactId>servlet-api</artifactId>
的所有<artifactId>javax.servlet-api</artifactId>
实例替换为所有pom.xml文件,如下所述:install error for upstream/master和{{3} }
还尝试删除或删除
<dependency>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-jetty</artifactId>
</dependency>
从dspace-api.pom.xml 并在更改pom.xml文件后执行mvn clean。
希望这有帮助。
答案 1 :(得分:0)
According to your log file, you're using Tomcat 8. Other people are reporting similar problems with Tomcat 8 (not with DSpace though): getDispatcherType() is undefined for the type HttpServletRequest and Tomcat 8 giving JSP compilation error
DSpace 5 is supposed to work with Tomcat 8 -- the installation instructions say "Tomcat 7 or later": https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-ServletEngine(ApacheTomcat7orlater,Jetty,CauchoResinorequivalent)
You say you were using Tomcat 8 with DSpace 4.2 already, so this probably isn't it. Can you confirm that you ran maven with the "clean" target?
mvn clean package