새로운 실행환경
- InteliJ Community
- DB는 Mysql인데 Oracle로 변경 예정
- Java 17
- Spring Boot 적용
- Tiles 라이브러리
패키지 구조 변경 및 환경설정 파일 작성 후 실행 ...
/usr/lib/jvm/java-1.17.0-openjdk-amd64/bin/java -javaagent:/home/seung/.local/share/JetBrains/Toolbox/apps/intellij-idea-community-edition/lib/idea_rt.jar=36421:/home/seung/.local/share/JetBrains/Toolbox/apps/intellij-idea-community-edition/bin -Dfile.encoding=UTF-8 -classpath /home/seung/IdeaProjects/MovieHub/target/classes:/home/seung/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.7.17/spring-boot-starter-web-2.7.17.jar:/home/seung/.m2/repository/org/springframework/boot/spring-boot-starter/2.7.17/spring-boot-starter-2.7.17.jar:/home/seung/.m2/repository/org/yaml/snakeyaml/1.30/snakeyaml-1.30.jar:/home/seung/.m2/repository/org/springframework/boot/spring-boot-starter-json/2.7.17/spring-boot-starter-json-2.7.17.jar:/home/seung/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.13.5/jackson-databind-2.13.5.jar:/home/seung/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.13.5/jackson-annotations-2.13.5.jar:/home/seung/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.13.5/jackson-core-2.13.5.jar:/home/seung/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.13.5/jackson-datatype-jdk8-2.13.5.jar:/home/seung/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.13.5/jackson-datatype-jsr310-2.13.5.jar:/home/seung/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.13.5/jackson-module-parameter-names-2.13.5.jar:/home/seung/.m2/repository/org/springframework/spring-web/5.3.30/spring-web-5.3.30.jar:/home/seung/.m2/repository/org/springframework/spring-beans/5.3.30/spring-beans-5.3.30.jar:/home/seung/.m2/repository/org/springframework/spring-webmvc/5.3.30/spring-webmvc-5.3.30.jar:/home/seung/.m2/repository/org/springframework/spring-aop/5.3.30/spring-aop-5.3.30.jar:/home/seung/.m2/repository/org/springframework/spring-context/5.3.30/spring-context-5.3.30.jar:/home/seung/.m2/repository/org/springframework/spring-expression/5.3.30/spring-expression-5.3.30.jar:/home/seung/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5.jar:/home/seung/.m2/repository/org/springframework/spring-core/5.3.30/spring-core-5.3.30.jar:/home/seung/.m2/repository/org/springframework/spring-jcl/5.3.30/spring-jcl-5.3.30.jar:/home/seung/.m2/repository/org/springframework/boot/spring-boot-starter-jdbc/2.7.17/spring-boot-starter-jdbc-2.7.17.jar:/home/seung/.m2/repository/com/zaxxer/HikariCP/4.0.3/HikariCP-4.0.3.jar:/home/seung/.m2/repository/org/springframework/spring-jdbc/5.3.30/spring-jdbc-5.3.30.jar:/home/seung/.m2/repository/org/springframework/spring-tx/5.3.30/spring-tx-5.3.30.jar:/home/seung/.m2/repository/org/springframework/boot/spring-boot-devtools/2.7.17/spring-boot-devtools-2.7.17.jar:/home/seung/.m2/repository/org/springframework/boot/spring-boot/2.7.17/spring-boot-2.7.17.jar:/home/seung/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.7.17/spring-boot-autoconfigure-2.7.17.jar:/home/seung/.m2/repository/org/springframework/security/spring-security-crypto/5.7.11/spring-security-crypto-5.7.11.jar:/home/seung/.m2/repository/javax/servlet/javax.servlet-api/4.0.1/javax.servlet-api-4.0.1.jar:/home/seung/.m2/repository/com/mysql/mysql-connector-j/8.0.33/mysql-connector-j-8.0.33.jar:/home/seung/.m2/repository/org/mybatis/spring/boot/mybatis-spring-boot-starter/3.0.1/mybatis-spring-boot-starter-3.0.1.jar:/home/seung/.m2/repository/org/mybatis/spring/boot/mybatis-spring-boot-autoconfigure/3.0.1/mybatis-spring-boot-autoconfigure-3.0.1.jar:/home/seung/.m2/repository/org/mybatis/mybatis/3.5.11/mybatis-3.5.11.jar:/home/seung/.m2/repository/org/mybatis/mybatis-spring/3.0.1/mybatis-spring-3.0.1.jar:/home/seung/.m2/repository/org/projectlombok/lombok/1.18.30/lombok-1.18.30.jar:/home/seung/.m2/repository/javax/servlet/jstl/1.2/jstl-1.2.jar:/home/seung/.m2/repository/org/json/json/20231013/json-20231013.jar:/home/seung/.m2/repository/org/apache/tiles/tiles-jsp/3.0.8/tiles-jsp-3.0.8.jar:/home/seung/.m2/repository/org/apache/tiles/tiles-servlet/3.0.8/tiles-servlet-3.0.8.jar:/home/seung/.m2/repository/org/apache/tiles/tiles-core/3.0.8/tiles-core-3.0.8.jar:/home/seung/.m2/repository/commons-digester/commons-digester/2.0/commons-digester-2.0.jar:/home/seung/.m2/repository/commons-beanutils/commons-beanutils/1.8.0/commons-beanutils-1.8.0.jar:/home/seung/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.36/jcl-over-slf4j-1.7.36.jar:/home/seung/.m2/repository/org/apache/tiles/tiles-request-servlet/1.0.7/tiles-request-servlet-1.0.7.jar:/home/seung/.m2/repository/org/apache/tiles/tiles-template/3.0.8/tiles-template-3.0.8.jar:/home/seung/.m2/repository/org/apache/tiles/tiles-api/3.0.8/tiles-api-3.0.8.jar:/home/seung/.m2/repository/org/apache/tiles/tiles-autotag-core-runtime/1.2/tiles-autotag-core-runtime-1.2.jar:/home/seung/.m2/repository/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.jar:/home/seung/.m2/repository/org/apache/tiles/tiles-request-jsp/1.0.7/tiles-request-jsp-1.0.7.jar:/home/seung/.m2/repository/org/apache/tiles/tiles-request-api/1.0.7/tiles-request-api-1.0.7.jar:/home/seung/.m2/repository/org/springframework/boot/spring-boot-starter-log4j2/2.7.17/spring-boot-starter-log4j2-2.7.17.jar:/home/seung/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.17.1/log4j-slf4j-impl-2.17.1.jar:/home/seung/.m2/repository/org/apache/logging/log4j/log4j-core/2.17.1/log4j-core-2.17.1.jar:/home/seung/.m2/repository/org/apache/logging/log4j/log4j-jul/2.17.1/log4j-jul-2.17.1.jar:/home/seung/.m2/repository/org/slf4j/jul-to-slf4j/1.7.36/jul-to-slf4j-1.7.36.jar:/home/seung/.m2/repository/org/bgee/log4jdbc-log4j2/log4jdbc-log4j2-jdbc4.1/1.16/log4jdbc-log4j2-jdbc4.1-1.16.jar:/home/seung/.m2/repository/org/apache/poi/poi/5.2.5/poi-5.2.5.jar:/home/seung/.m2/repository/commons-codec/commons-codec/1.15/commons-codec-1.15.jar:/home/seung/.m2/repository/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar:/home/seung/.m2/repository/org/apache/commons/commons-math3/3.6.1/commons-math3-3.6.1.jar:/home/seung/.m2/repository/commons-io/commons-io/2.15.0/commons-io-2.15.0.jar:/home/seung/.m2/repository/com/zaxxer/SparseBitSet/1.3/SparseBitSet-1.3.jar:/home/seung/.m2/repository/org/apache/logging/log4j/log4j-api/2.17.1/log4j-api-2.17.1.jar:/home/seung/.m2/repository/org/apache/poi/poi-ooxml/5.2.5/poi-ooxml-5.2.5.jar:/home/seung/.m2/repository/org/apache/poi/poi-ooxml-lite/5.2.5/poi-ooxml-lite-5.2.5.jar:/home/seung/.m2/repository/org/apache/xmlbeans/xmlbeans/5.2.0/xmlbeans-5.2.0.jar:/home/seung/.m2/repository/org/apache/commons/commons-compress/1.25.0/commons-compress-1.25.0.jar:/home/seung/.m2/repository/com/github/virtuald/curvesapi/1.08/curvesapi-1.08.jar movie.hub.HubApplication
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.7.17)
11:39:07.348 [restartedMain] ERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter -
***************************
APPLICATION FAILED TO START
***************************
Description:
Web application could not be started as there was no org.springframework.boot.web.servlet.server.ServletWebServerFactory bean defined in the context.
Action:
Check your application's dependencies for a supported servlet web server.
Check the configured web application type.
Process finished with exit code 0
ServletWebserverFactory 빈이 컨텍스트에 정의되지 않았다는 에러 발생
이후 첫 실행까지 상당한 삽질을 했는데 maven install, clean, test 등 수없이 하다보니 파일 경로를 수정하지 않았음에도 어느순간 실행이 성공했다 😾 부트로 작업하는게 처음이라 아직 너무 낯설다
'Backend > LUNAR' 카테고리의 다른 글
상세페이지 UI 수정, Chart.js 추가 (0) | 2024.11.22 |
---|---|
헤더 pixed, 회원가입 유효성검사, 상세페이지 ing (1) | 2024.11.19 |
메인 페이지 데이터 구성 완, 스케줄러 적용 (0) | 2024.11.19 |
로그아웃, 회원가입, Messages.properties 적용! (0) | 2024.11.16 |
tiles3 적용 중 404의 늪에 빠지다 (0) | 2024.11.13 |