IntelliJ啟動SpringBoot專案發生Error starting Tomcat context === ## Error starting Tomcat context 欲啟動位於`share`底下的module `shadm` </font>,在STS(Eclise)可以正常啟動成功  然而使用intelliJ卻會啟動失敗,出現`o.s.b.web.embedded.tomcat.TomcatStarter`拋出的<font color=prince>Error starting Tomcat context</font>錯誤  ### 解決方式 發現"Run Configuration -> Working directory"的欄位是空的,使用以下方式指定工作路徑: 1. 針對要啟動的service進行配置【Edit Configuration】  2. 設定【Working Directory】路徑指向當前module `shadm`  * 測試 於intelliJ再次啟動module `shadm`  可以啟動成功!
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up