Need an easy to follow Hello World REST example for a Jetty + Jersey + Maven app

不想你离开。 提交于 2019-12-25 07:59:21

问题


I have not been successful in getting Jetty working with Jersey in a Hello World level app which demonstrates the REST capabilities of Jersey. Examples seem to lack detailed POM information, directory structure, html client, JDK version (I am using jdk1.7.0_51), or some other detail which I get tripped up on.

I am looking for a clearly written tutorial (a link is fine) which has all of these details OR would take an example + comments which supply the missing information.


回答1:


See my answer to your other question for a HelloWorld Jersey 2 & Jetty. It should be pretty self explanatory, but let me know if yodu want further clarification on anything.



来源:https://stackoverflow.com/questions/23026984/need-an-easy-to-follow-hello-world-rest-example-for-a-jetty-jersey-maven-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!