--- tags: Java, Tomcat --- # 專案部署至Tomcat 使用Netbeans建置專案 ## Netbeans Netbeans 下載 https://netbeans.apache.org/  ## 創建專案 1. 選擇web application  2. 瀏覽tomcat本地端檔案  ## 新增servlet sample 新增servlet sample script    ## 使用netbeans編譯 直接按run就可以執行, 但本人試過會卡在wating for tomcat...... 接著會等待到timeout, 然後沒有任何錯誤, netbeans 14, 15都是 所以採用intellji編譯 ## 使用intellji編譯 1. 直接開啟專案  2. 安裝plugin  3. 新增configure,並選smart tomcat  4. 調整context  ## 執行 1. 成功畫面  2. 成功頁面  ###### tags: `Java`, `tomcat`
×
Sign in
Email
Password
Forgot password
or
Sign in via Google
Sign in via Facebook
Sign in via X(Twitter)
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
Continue with a different method
New to HackMD?
Sign up
By signing in, you agree to our
terms of service
.