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

查看:92
本文介绍了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,则可以使用WEB-INF目录中的jboss-deployment-structure.xml文件来排除它们.这是示例,描述有关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天全站免登陆