JBoss 7.1 开发问题 [英] JBoss 7.1 development issues

查看:33
本文介绍了JBoss 7.1 开发问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 JBoss 7.1 的新手,并试图迁移我们的应用程序以从 jboss 6.0 迁移到 jboss 7.1,但在开发时它只会自动加载几个特定的​​ jar,这与 jboss 6.0 不同,后者从 lib 文件夹加载所有 jar.如果我在外部添加它们,然后在部署时它与 jboss 7.1/module 文件夹中已经可用的 jar 冲突.

I am new to JBoss 7.1 and trying to migrate our appplication to migrate from jboss 6.0 to jboss 7.1 but at development time it loads only few specific jars automatically which is different from jboss 6.0 which loads all the jars from lib folder.If i add them externally then at deployement time it conflicts with the already available jars in jboss 7.1 /module folder.

所以请让我知道如何配置 jboss 7.1 以便它加载所有或指定其内部 jar.

so please let me know how to configure the jboss 7.1 so that it loads all or specified its internal jars.

推荐答案

如果您需要为部署的应用程序使用自己的 jar,那么您可以使用 jboss-deployment-structure.xml WEB-INF 目录中的文件.这是一个例子描述xml文件的格式.

If you need to use your own jar for the deployed application, then you can exclude these using a jboss-deployment-structure.xml file in your WEB-INF directory. Here is an example that describes about the format of the xml file.

这篇关于JBoss 7.1 开发问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆