2013-02-22 53 views
0

我已經手動將我的mule項目轉換爲war文件,如mule to war中所述,並且我已經適當地更改了web.xml並使用servlet終結點更改了http端點,但是當部署那場戰爭時,我遇到了問題在JBoss中4在jboss中部署Mule時出錯4

2013-02-21 13:35:47,236 DEBUG [org.mule.config.builders.MuleXmlBuilderContextListener] Mule config file(s): sampleBkg.xml 2013-02-21 13:35:47,236 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/sampleBkg-war]] org/apache/commons/lang/StringUtils java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils

注:我的騾子配置XML名稱是sampleBkg.xml,我已經在web.xml文件中提到過。

另一個例外是第一個例外。

2013-02-21 13:49:25,497 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/sampleBkg-war]] Exception sending context initialized event to listener instance of class org.mule.config.builders.MuleXmlBuilderContextListener java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils

回答

0

看來你錯過了你的web-app WEB-INF/lib中的commons-lang和mule-module-builder JAR。

+0

,嗨,正如你所說的,我在WEB_INF/lib中使用「mule-module-builders-3.3.0.jar」,「commons-lang3-3.1.jar」,但仍然發生錯誤,在部署到Jboss後嘗試重新啓動。什麼是概率 – Jeevanantham 2013-02-25 04:40:04

+0

仍然是例外? – 2013-02-25 13:57:58

+0

你還是一樣的... – Jeevanantham 2013-02-26 03:36:10