我在将mule war文件部署到tomcat时遇到错误。 我收到了以下错误
org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from simplewebapp.xml; nested exception is java.lang.NoClassDefFoundError: de/schlichtherle/license/LicenseContentException (org.mule.api.lifecycle.InitialisationException)
at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:49)
at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69)
at org.mule.context.DefaultMuleContextFactory$2.configure(DefaultMuleContextFactory.java:103)
我的流程如下
<flow name="simplewebappFlow1" doc:name="simplewebappFlow1">
<servlet:inbound-endpoint path="/rig" responseTimeout="10000" doc:name="Servlet"/>
<response>
<object-to-string-transformer doc:name="Object to String"/>
</response>
<sfdc:query config-ref="Salesforce" query="dsql:SELECT Id,Name FROM Account" doc:name="Salesforce"/>
<data-mapper:transform config-ref="List_Account__To_CSV" doc:name="List<Account> To CSV"/>
<file:outbound-endpoint path="/home/Test" outputPattern="test" responseTimeout="10000" doc:name="File"/>
</flow>
我在网页上调用此流程
<a href="./services/rig">click</a>
当我点击此时,我收到了以下错误...
javax.servlet.ServletException: Property mule.context not set on ServletContext
org.mule.transport.servlet.AbstractReceiverServlet.setupMuleContext(AbstractReceiverServlet.java:125)
org.mule.transport.servlet.AbstractReceiverServlet.init(AbstractReceiverServlet.java:115)
javax.servlet.GenericServlet.init(GenericServlet.java:158)
如何解决此错误?
由于