How to run the D2 Rest plugin project locally using Spring
Hi All,
We have created a new plugin project using d2rest smartview sdk [23.4] and on top of it we have created a D2-Rest plugin as well.
If we build the project and deploy it to the ls-rest server, the endpoint works and we dont have any issues. however , we want to develop our custom D2 Rest plugin and want to test the changes locally using spring boot.
We created a spring main class and tried to run the project but getting the below error
———
APPLICATION FAILED TO START
Description:
Field sessionRepository in com.emc.documentum.rest.dfc.SessionAwareAbstractManager required a bean of type 'com.emc.documentum.rest.dfc.RepositorySession' that could not be found.
The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)
Action:
Consider defining a bean of type 'com.emc.documentum.rest.dfc.RepositorySession' in your configuration.
———How to run the D2 Rest plugin project locally using Spring? Any guidance would be appreciated!
Thanks,
Gopi
Categories
- All Categories
- 117 Developer Announcements
- 52 Articles
- 145 General Questions
- 132 Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 8.9K Extended ECM
- 912 Cloud Fax and Notifications
- 81 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 164 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 4 XM Fax