Posts

Showing posts from November 26, 2018

Unsatisfied depedency in spring boot

Image
up vote 1 down vote favorite My model class package com.darshan.spring.model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class UserInfo { @Id @GeneratedValue(strategy=GenerationType.AUTO) private Integer id; private String firstName; private String lastName; public UserInfo() { } public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastNa...