Hi, 

I am trying to enable thumbnail creation using Media Filter plugin for
Dspace 3.2.
Got the following exception while executing the script. 

Here are the steps followed and changes in dspac.cfg file. 

- webui.browse.thumbnail.show = true 

- webui.item.thumbnail.show = true 

- webui.browse.thumbnail.linkbehaviour = item 

- webui.browse.thumbnail.maxheight = 40 
- webui.browse.thumbnail.maxwidth = 40 

After having changed to dspace.cfg, 
- Restart Tomcat Server, 
- run [dspace]/bin/dspace filter-media, 

Any help would be great.

Thanks



Throws the following exception-----

 INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
DSpaceKernel:org.dspace:name=fcbd715e-2d76-49d8-9956-da3829fe2b41,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
 INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
file:/klib/app/dspace/3.2-up/config/dspace.cfg
 INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log
configuration (log.init.config)
 INFO [main] (ConfigurationManager.java:1224) - Loading:
/klib/app/dspace/3.2-up/config/log4j.properties
Exception in thread "main" java.lang.NoClassDefFoundError:
org/springframework/core/io/ClassPathResource
        at
org.dspace.servicemanager.config.DSpaceConfigurationService.readPropertyResource(DSpaceConfigurationService.java:550)
        at
org.dspace.servicemanager.config.DSpaceConfigurationService.loadInitialConfig(DSpaceConfigurationService.java:344)
        at
org.dspace.servicemanager.config.DSpaceConfigurationService.<init>(DSpaceConfigurationService.java:61)
        at
org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:145)
        at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:51)
Caused by: java.lang.ClassNotFoundException:
org.springframework.core.io.ClassPathResource
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        ... 5 more




--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Error-in-enabling-media-filter-tp4673070.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to