Git Product home page Git Product logo

resthub-spring-tutorial's People

Contributors

bmeurant avatar sdeleuze avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

resthub-spring-tutorial's Issues

Unit test of TaskService

Could you explain to me the presence of the following property in the unit test ? I don't really understand why we have a bean here, is it a mistake ?

@Inject
@Named("notificationService")
private NotificationService mockedNotificationService;

Thank you very much.

How to deploy resthub-spring-tutorial on appengine ?

Hi

I tried to deploy resthub-spring-tutorial on AppEngine.

Since AppEngine use servlet-api 2.5 and the framworkd resthub use servlet-api 3.0, some change of your sample is required.

But, I have the following problem :

[INFO] Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.resthub.training.service.impl.TaskServiceImpl.setRepository(org.resthub.training.repository.TaskRepository); nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.resthub.training.repository.TaskRepository] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}

Could you please help me to solve this problem in order to deploy this sample on AppEngine and test JPA with datanucleus ?
Thank you in advance for your help.
Best regards,
Franck

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.