Springboot
-
curl Unexpected character (''' (code 39))Springboot 2019. 12. 6. 13:27
# 문제1 curl -i -X POST -H "Content-Type:application/json" -d '{"firstName": "Frodo", "lastName": "Baggins"}' http://localhost:8080/people {"cause":{"cause":null,"message":"Unexpected character (''' (code 39)): expected a valid v alue (JSON String, Number, Array, Object or token 'null', 'true' or 'false')\n at [Source: (org.apache.catalina.connector.CoyoteInputStream); line: 1, column: 2]"},"messa..
-
[Data] gradle+mysql+jpaSpringboot 2019. 12. 5. 11:37
[1] Create the application.properties File spring.jpa.hibernate.ddl-auto=update #none: No change is made to the database structure. (good choice) #update: Hibernate changes the database according to the given entity structures. #create: Creates the database every time but does not drop it on close. #create-drop: Creates the database and drops it when SessionFactory closes. * Mysql default : none..
-
[Lombok] 이클립스 적용안됨Springboot 2019. 10. 24. 21:57
별도로 IDE에 맞게 사용환경 설치 https://countryxide.tistory.com/16