1.先裝你的web專案,再加入server,並把專案填入server內
        2.JRE 一定要裝 jdk1.5 以上版本
        3.於Java EE Perspective 的下方Server View檢視Tomcat是否有正確匯入
          TAC專案正確無誤後進行選取Tomcat Server以滑鼠點兩下,
          進入下列細部設定:
          (1).左下方 Server options勾選前兩項 Server Module without publishing
              及 publish module contexts to separate XML files
          (2).右上方 Automatic Publishing勾選 Never publish automatically
          (3).加入D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
              \conf\Catalina\localhost 
        4.打開 eclipse的import功能,匯入Pebble war的專案,接下來記得不要勾選其它專案war檔。     
        5.重新開啟Tomcat
        6.大功告成!!

jjaammeess 發表在 痞客邦 留言(0) 人氣()