mule myeclipse運行例子報錯

我用myeclipse7.5安裝了mule插件之後,導入mule官方例子,運行的時候拋下面的異常。html

緣由:我安裝myeclipse7.5之後用工做空間的默認路徑爲C:/Documents and Settings/Administrator/Workspaces/MyEclipse,在路徑C:/Documents and Settings中有空格,致使了異常的發生。java

解決:把myeclipse7.5工做空間workspace的路徑改成沒有空格的路徑就能夠。api

 

 

INFO  2010-01-20 18:20:26,820 [main] org.mule.MuleServer: Mule Server initializing... 
ERROR 2010-01-20 18:20:27,336 [main] org.mule.MuleServer: 
******************************************************************************** 
Message               : /C:/Documents (java.io.FileNotFoundException) 
Type                  : org.mule.api.config.ConfigurationException 
Code                  : MULE_ERROR-12999 
JavaDoc               : http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/config/ConfigurationException.html
******************************************************************************** 
Exception stack is: 
1. /C:/Documents (java.io.FileNotFoundException) 
  org.mule.config.ConfigResource:35 (http://java.sun.com/j2se/1.5.0/docs/api/java/io/FileNotFoundException.html
2. /C:/Documents (java.io.FileNotFoundException) (org.mule.api.config.ConfigurationException) 
  org.mule.config.builders.AbstractResourceConfigurationBuilder:96 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/config/ConfigurationException.html
******************************************************************************** 
Root Exception stack trace: 
java.io.FileNotFoundException: /C:/Documents 
        at org.mule.config.ConfigResource.<init>(ConfigResource.java:35) 
        at org.mule.config.builders.AbstractResourceConfigurationBuilder.loadConfigResources(AbstractResourceConfigurationBuilder.java:90) 
        at org.mule.config.builders.AbstractResourceConfigurationBuilder.<init>(AbstractResourceConfigurationBuilder.java:46) 
        at org.mule.config.builders.AutoConfigurationBuilder.<init>(AutoConfigurationBuilder.java:43) 
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 
        at java.lang.reflect.Constructor.newInstance(Unknown Source) 
        at org.mule.util.ClassUtils.instanciateClass(ClassUtils.java:376) 
        at org.mule.util.ClassUtils.instanciateClass(ClassUtils.java:391) 
        at org.mule.MuleServer.initialize(MuleServer.java:335) 
        at org.mule.MuleServer.run(MuleServer.java:257) 
        at org.mule.MuleServer.start(MuleServer.java:244) 
        at org.mule.MuleServer.main(MuleServer.java:121) 

******************************************************************************** 

ERROR 2010-01-20 18:20:27,445 [main] org.mule.MuleServer: 
******************************************************************************** 
* A Fatal error has occurred while the server was running:                     * 
* /C:/Documents (java.io.FileNotFoundException)                                * 
*                                                                              * 
* The error is fatal, the system must shutdown                                 * 
* Server shutdown: 1/20/10 6:20 PM                                             * 
******************************************************************************** 
INFO  2010-01-20 18:20:27,461 [Thread-0] org.mule.MuleServer: Mule server shutting down due to normal shutdown request 
INFO  2010-01-20 18:20:27,461 [Thread-0] org.mule.MuleServer: 
************************************************************************************** 
* The server is shutting down due to normal shutdown request                         * 
* Server shutdown: 1/20/10 6:20 PM                                                   * 
************************************************************************************** eclipse

相關文章
相關標籤/搜索