Hi,
I have just cloned DSpace tag 3.0rc1 to test and can’t get the build to happen. It’s failing on the dspace-api build on test cases. Specifically that the defaultConfiguration class used in the spring configuration is missing. I then noticed that I didn’t have a dspace-discovery module anymore, as compared to V1.8.2, and it doesn’t seem to be declared as a dependency anymore.
java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.discovery.configuration.DiscoveryConfigurationService' defined in file [C:\_work\GitHub\DSpace\dspace-api\target\classes\spring\spring-dspace-addon-discovery-configuration-services.xml]: Cannot resolve reference to bean 'defaultConfiguration' while setting bean property 'map' with key [TypedStringValue: value [default], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultConfiguration' defined in file [C:\_work\GitHub\DSpace\dspace-api\target\classes\spring\spring-dspace-addon-discovery-configuration-services.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.util.List' for property 'sidebarFacets'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.dspace.discovery.configuration.SidebarFacetConfiguration] to required type [org.dspace.discovery.configuration.DiscoverySearchFilterFacet] for property 'sidebarFacets[0]': no matching editors or conversion strategy found
at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:224)
I’m new to GIT and GITHUB so maybe I did something wrong on the clone/checkout from github?? Should I be seeing the dspace-discovery module in a tag 3.0rc2 checkout?
Using Intellij and its GIT/GITHUB plug-in, but just browsing GITHUB doesn’t show dspace-discovery either.
Cheers
Kevin
Hi,
Upon further investigation I can see this class is now in dspace-api. Still not sure why the test failed out of the box. Does anyone else experience this test case failure on maven package of the dspace-api?
Cheers
Kevin
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
DSpace-tech mailing list
DSpac...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
Hi,
I resolved by not using Intellij GitHub plug-in to do the clone, but instead used the Windows GitHub client.
The problem was in the spring configuration where members of the bean DiscoveryConfiguration were previously SideBarFacetConfiguration typed but now use DiscoverySearchFilterFacet. Is this an issue? The issue still appears the spring config file but seems to build anyway, haven’t tracked it down any further.
Apologies for the redundant emails.
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct
Hi, there already has been rc2 meanwhile and some commits since that. I recommend giving thee master branch a try:
https://github.com/DSpace/DSpace
There's even a button that will give you a zip file of the latest code if you prefer that before Git.
Thank you for testing the latest code and reporting issues, much appreciated!