Has anyone ever needed to implement something new in dspace? my difficulty 
is in making dspace see a new .java class.

thanks, advanced.


Em segunda-feira, 14 de setembro de 2020 às 19:58:14 UTC-3, 
lucas....@gmail.com escreveu:

> Tematres is a software for generating controlled vocabulary, which I am 
> trying to use as a controlled vocabulary in Dspace version 6.3.
> The idea is to use it as a web service, I used SHERPARoMEOJournalTitle as 
> an example to implement my class that I called of TematresProtocol.java 
> <https://github.com/bdpi/bdpi-dspace/commit/0e17b0edf1c560e1824b93fd935b3d82f91e6b6b#diff-044b725d80898f467d4eae1c96a6426d>
>  in 
> DSpaceSource/dspace-api/src/main/java/org/dspace/content/authority.
>
> 1- Then compiled via the maven command:
>                  mvn -U package
>
> 2- Later, I deployed with ant:
>      cd DSpaceSource/dspace/target/dspace-installer
>      ant fresh_install
>
> 3- To make the service effective, I configured dspace.cfg as explained in  
> https://wiki.lyrasis.org/display/DSPACE/Authority+Control+of+Metadata+Values#AuthorityControlofMetadataValues-AddingChoiceAuthorityPlugin
> :
>
> #####  Authority Control Settings  #####
> plugin.named.org.dspace.content.authority.ChoiceAuthority = \
>  org.dspace.content.authority.SampleAuthority = Sample, \
>  org.dspace.content.authority.SHERPARoMEOPublisher = SRPublisher, \
>  org.dspace.content.authority.SHERPARoMEOJournalTitle = SRJournalTitle, \
>  org.dspace.content.authority.TematresSponsorship = TematresSponsorship, \
>  org.dspace.content.authority.SolrAuthority = SolrAuthorAuthority
>  
> tematres.url = https://tesaurosjuventude.mdh.gov.br/vocab/services.php
>
>  choices.plugin.dc.title.alternative = TematresSponsorship
>  choices.presentation.dc.title.alternative = lookup
>  authority.controlled.dc.title.alternative = true
>
>
> 4- After restarting tomcat, and trying to perform a submission, dspace 
> throws the error below:
> javax.servlet.ServletException: org.apache.jasper.JasperException: 
> org.dspace.core.PluginInstantiationException: Cannot load plugin 
> class:  
> java.lang.ClassNotFoundException:org.dspace.content.authority.TematresSponsorship
>
> Has anyone done something similar? do you know how you could solve this 
> problem?
>
> To make it easier I am attaching the class TematresProtocol.java 
> <https://github.com/bdpi/bdpi-dspace/commit/0e17b0edf1c560e1824b93fd935b3d82f91e6b6b#diff-044b725d80898f467d4eae1c96a6426d>
> .
>
> I also checked and TematresProtocol.class is in the directory lib at 
> dspace-api-6.3.jar and is included.
>
> Thanks, advanced.
>
>
>  
>
>
>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/c70673a1-48d7-4183-9c3e-1472db786280n%40googlegroups.com.

Reply via email to