Hi,
First, thanks for contributing this great work to the community.
I am not familiar with Spring framework I downloaded the webapi project and compiled them with Eclipse
Then I create a dynamic web project using eclipse and configure Tomcat server, I used the web.xml downloaded from branches and starting the web service successfully,
However, when I test the link, for example, “http://localhost:8080/ohdsi_webapi/vocabulary/concept/0”
I found the following error:
java.lang.NullPointerException
at org.ohdsi.webapi.service.VocabularyService.getConcept(VocabularyService.java:143)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483
And I found the function getJdbcTemplate() return null value and also other 4 variables returned empty value
so I wonder if there is a configuration file that injecting values for those fields or any other configurations that I need
Thanks.
Min