|
Hi Monika, On 04/03/15 12:42, Monika C. Mevenkamp
wrote:
I am trying to run upstream/master with code changes of mine inside dspace-api My first suspect would be the version of servlet-api that comes with your tomcat install. A quick web search for "The method getDispatcherType() is undefined for the type HttpServletRequest" leads to this: http://stackoverflow.com/questions/26436463/getdispatchertype-is-undefined-for-the-type-httpservletrequest From this line in the top-level pom, it looks to me like DSpace expects version 2.5 of servlet-api to be provided by your web application container: https://github.com/DSpace/DSpace/blob/master/pom.xml#L1030 I don't know whether you can just swap out the servlet-api jar that comes with tomcat. One of the answers to the stackoverflow question suggests going the other direction, ie changing the version number in the DSpace pom file to what is provided by your web application container (3.1, it looks like?). I suspect in that case you'll get compile-time errors about the same thing. The DSpace docs say we support Tomcat 7 or newer; if this problem persists for Tomcat 8 then this might be worth a Jira issue. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand |
------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

