How to run jersey-server webservice server without using tomcat

前端 未结 3 1185
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-24 14:12

This is my first time dealing with web-services. Simply, I need to send a post request from jersey web service client (inside a webpage implemented in javascript) to a jerse

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-24 14:45

    Since your using Maven, hence you need to configure the properties to run on the Tomcat.

    Right click on the Project -> Run as-> Run Configuration Select the Maven Tomcat-> change the goals to 'tomcat:run'

提交回复
热议问题