Integration tematres + dspace

41 views
Skip to first unread message

Lucas angelo

unread,
Sep 14, 2020, 6:56:57 PM9/14/20
to DSpace Community
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 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


#####  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
 

 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.

I also checked and TematresProtocol.class is in the directory lib at dspace-api-6.3.jar and is included.


 


TematresProtocol.java
Reply all
Reply to author
Forward
0 new messages