Eclipse - add .jar to Dynamic Web Project

后端 未结 5 523
忘掉有多难
忘掉有多难 2020-12-08 14:55

When I use the follow code in eclipse Dynamic Web Project inside servlet , like this :

@WebServlet(\"/CreateCustomerServlet\")
publ         


        
5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-08 15:17

    Just now I troubleshoot this issue.

    • Just go to properties of your project.
    • Select Deployment Assembly -> add -> Java Build Path Entries.

    And you are done !

提交回复
热议问题