您的位置:首页 > 其它

针对JBOSS无法转换类型的错误

2009-01-16 20:36 155 查看
更改配置:

D:\DevelopTool\jboss-4.2.2.GA\server\default\deploy\jboss-web.deployer\META-INF下的

jboss-service.xml下找到

<attribute name="UseJBossWebLoader">false</attribute>
<!-- The list of package prefixes that should not be loaded without
delegating to the parent class loader before trying the web app
class loader. The packages listed here are those tha are used by
the web container implementation and cannot be overriden. The format
is a comma separated list of the package names. There cannot be any
whitespace between the package prefixes.
This setting only applies when UseJBossWebLoader=false.
-->

将其改为true。就是对于web应用的类库也用jboss来加载,而不是有tomcat来加载。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐