3
我可能真的在這一個關閉,但任何人都可以看看這個配置,並告訴我爲什麼我看到這個問題時,tomcat 7開始?我使用騾3.3,但你可以從下面的標題看到。無法找到命名空間NamespaceHandler http://www.mulesoft.org/schema/mule/jersey
Unable to locate NamespaceHandler for namespace [http://www.mulesoft.org/schema/mule/jersey]
這是我的騾子配置文件頭:
<mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:spring="http://www.springframework.org/schema/beans"
xmlns:mulexml="http://www.mulesoft.org/schema/mule/xml" xmlns:jersey="http://www.mulesoft.org/schema/mule/jersey"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.3/mule.xsd
http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/3.3/mule-http.xsd
http://www.mulesoft.org/schema/mule/xml http://www.mulesoft.org/schema/mule/xml/3.3/mule-xml.xsd
http://www.mulesoft.org/schema/mule/jersey http://www.mulesoft.org/schema/mule/jersey/3.0/mule-jersey.xsd
http://jersey.apache.org/core http://jersey.apache.org/schemas/core.xsd">
這是使用的球衣標籤內容:
<flow name="HelloWorld">
<inbound-endpoint address="http://localhost:8081/helloworld"/>
<jersey:resources>
<component class="com.sample.helloworld.HelloRest"/>
</jersey:resources>
</flow>
You miss JAR f ILE在類路徑來處理你的'jersey' XML命名空間中的配置文件 – hoaz
我已經加入\t \t \t \t \t com.sun.jersey \t \t \t 球衣的客戶端 \t \t 每一個的pom.xml遠程相關的網絡服務,我仍然得到了問題 –
Stainedart
看到我的答案 – hoaz