일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- ALTER
- start()
- hamobee
- methodArea
- MSA
- 콘크리트클래스
- eclipse
- class
- arguments
- override
- 객체형변환
- Vector
- object
- constantnumber
- super
- 생성자
- Polymorphism
- 추상클래스
- reference
- hashCode
- concreteclass
- string
- run()
- Eureka
- fuction
- abstractclass
- overload
- garbagecollection
- value
- Hashtable
- Today
- Total
뇌운동일지
[ 오늘도 오리 ] springboot restapi 본문
오늘은 쓰고 싶지 않았다.
책보고 따라하는중
책에 나온대로 하면 실행 안된다.
그래서 방법을 찾아야함.
How to return a html page from a restful controller in spring boot?
I want to return a simple html page from controller, but I get only the name of the file not its content. Why? This is my controller code: @RestController public class HomeController { @
stackoverflow.com
string return 해주지말고, resource에 있는 html 을 return 해줘....
thymeleaf import로는 안됨.
ModelAndView 를 써볼까한다.
-> ModelAndView 로 잘됨. hibernate select 도 된다.
gradle 에서 querydsl 쓰기
[JPA] Spring Boot Data JPA + Gradle + Querydsl 적용
Gradle 4 기준 build.gradleGradle 5 기준 build.gradle
blog.naver.com
https://www.inflearn.com/questions/23530
querydsl 설정관련 질문드립니다. - 인프런
질문 - querydsl 설정관련 질문드립니다. 현재 build.gradle에서 querydsl 환경설정을 하고 있는데 에러가 있어서 질문드립니다. 아래와 같이 build.gradle 작성했고 reimport 후 compileQuerydsl로 Q클래스들을 생
www.inflearn.com
https://jojoldu.tistory.com/372
Spring Boot Data Jpa 프로젝트에 Querydsl 적용하기
안녕하세요? 이번 시간에는 Spring Boot Data Jpa 프로젝트에 Querydsl을 적용하는 방법을 소개 드리겠습니다. 모든 코드는 Github에 있습니다. Spring Data Jpa를 써보신 분들은 아시겠지만, 기본으로 제공해�
jojoldu.tistory.com
임시저장
/* querydsl 적용
apply plugin: "com.ewerk.gradle.plugins.querydsl"
def querydslSrcDir = 'src/main/generated'
querydsl{
library = "com.querydsl:querydsl-apt"
jpa = true
querydslSourceDir = querydslSrcDir
}
sourceSets{
main{
java{
srcDirs = ['src/main/java', querydslSrcDir]
}
}
}
compileQuerydsl{
options.annotationProcessorPath = configurations.querydsl
}
*/