JBoss 5 上的 RESTEasy - 需要 jars [英] RESTEasy on JBoss 5 - jars needed
问题描述
我们正在运行 JBoss 5.1.0,我正在尝试使用 RESTEasy 启动并运行一个简单的测试应用程序.但是,我无法弄清楚我需要什么才能做到这一点.显然新版本的 JBoss 包含了所有内容,但这对我没有帮助.据我了解,我需要修改我的应用程序的 web.xml 以包含引导程序和其他一些内容.然后我需要在 WEB-INF/lib 中包含一些 jars.这就是我被困的地方.
We are running JBoss 5.1.0 and I'm trying to get just a simple test app up and running with RESTEasy. However, I cannot figure out what I need in order to do this. Apparently new versions of JBoss have everything included, but that doesn't help me. From what I understand, I need to modify the web.xml of my app to include the bootstrap and some other things. And then I need to include some jars in the WEB-INF/lib. This is where I'm stuck.
我是否需要在 JBoss 的服务器/lib 中包含任何 jar,或者它们都应该在我的应用程序的 WEB-INF/lib 中?
Do I need to include any jars in the server/lib in JBoss, or are they all supposed to be in the WEB-INF/lib of my app?
我需要包含哪些罐子?我们没有使用 Maven.我看到很少有教程实际上提到要使用哪些 jar,当我下载 RESTEasy 时,lib 文件夹中有 65 个 jar.我没有在我的 HelloWorld 应用程序中包含 65 个罐子,只是为了让 RESTEasy 运行.我找不到任何文档来清楚地告诉我在 JBoss 5 上启动和运行 RESTEasy 应用程序需要什么
What jars do I need to include? We are not using Maven. I've seen very few tutorials actually mention which jars to use, and when I download RESTEasy there 65 jars in the lib folder. I'm not including 65 jars in my HelloWorld app just to get RESTEasy to run. I can't find any documentation that tells me plainly what I need in order to get a RESTEasy app up and running on JBoss 5
推荐答案
Resteasy 库未与 JBOSS.5.1.0 捆绑在一起.您应该在 WEB-INF/lib 中包含以下库
Resteasy libraries are not bundled with JBOSS.5.1.0. You should include following libraries in your WEB-INF/lib
这篇关于JBoss 5 上的 RESTEasy - 需要 jars的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!