diff --git a/src/main/java/org/ntlab/nemophila/resources/accounts/AccountPostRest.java b/src/main/java/org/ntlab/nemophila/resources/accounts/AccountPostRest.java index 333391d..7d00a6e 100644 --- a/src/main/java/org/ntlab/nemophila/resources/accounts/AccountPostRest.java +++ b/src/main/java/org/ntlab/nemophila/resources/accounts/AccountPostRest.java @@ -6,6 +6,7 @@ import org.ntlab.nemophila.models.shops.Shop; import org.ntlab.nemophila.utils.Base64Decode; import org.springframework.beans.BeansException; +import org.springframework.context.ApplicationContextAware; import org.springframework.stereotype.Component; import javax.ws.rs.*; @@ -15,7 +16,7 @@ @Component @Path("/accounts") -public class AccountPostRest { +public class AccountPostRest implements ApplicationContextAware { private org.springframework.context.ApplicationContext applicationContext; public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws BeansException {