Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Discy Latest Questions

  • 0

For several days I’m trying to create Spring CRUD application. I’m confused. I can’t solve this errors. org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘clientController’: Unsatisfied dependency expressed through method ‘setClientService’ parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ...

  • 0

So I’ve been learning Spring in the couples of week, been following this tutorial Building a RESTful Web Service All was well until I tried to integrate it to mongodb. So I follow this tutorial. Accessing Data with MongoDB But my practice ...

  • 0

I’m writing a Spring MVC application deployed on Tomcat. See the following minimal, complete, and verifiable example public class Application extends AbstractAnnotationConfigDispatcherServletInitializer { protected Class<?>[] getRootConfigClasses() { return new Class<?>[] { ...

  • 0

When I compile my spring project, I got the following error. Error creating bean with name ‘entityManagerFactory’ defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed I am using STS Eclipse and MySql Database My Connection string in Application.Properties is spring.datasource.url=jdbc:mysql://localhost:3306/stgdb spring.datasource.username=root spring.datasource.password=root spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.jpa.hibernate.ddl-auto=update

  • 0

I want to convert the following (working) curl snippet to a RestTemplate call: curl -i -X POST -d "[email protected]" https://app.example.com/hr/email How do I pass the email parameter correctly? The following code results in a 404 Not Found response: String url = "https://app.example.com/hr/email";Map<String, String> ...

close