mule myeclipse运行例子报错

我用myeclipse7.5安装了mule插件以后,导入mule官方例子,运行的时候抛下面的异常。

原因:我安装myeclipse7.5以后用工作空间的默认路径为C:/Documents and Settings/Administrator/Workspaces/MyEclipse,在路径C:/Documents and Settings中有空格,导致了异常的发生。

解决:把myeclipse7.5工作空间workspace的路径改为没有空格的路径就可以。

 

 

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                                                   * 
************************************************************************************** 

你可能感兴趣的:(exception,工作,MyEclipse,server,javadoc,2010)