如何开始调试这个 Java 错误?
我是 eclipse、java 和 mule 的学生。我在尝试运行时遇到错误--> Mule 服务器,不知道问题出在哪里。有什么建议吗?非常感谢您的任何建议!
INFO 2011-05-20 12:00:59,425 [main] org.mule.MuleServer: Mule Server initializing...
ERROR 2011-05-20 12:00:59,785 [main] org.mule.MuleServer:
********************************************************************************
Message : and (java.io.FileNotFoundException)
Code : MULE_ERROR-12999
--------------------------------------------------------------------------------
Exception stack is:
1. and (java.io.FileNotFoundException)
org.mule.config.ConfigResource:35 (null)
2. and (java.io.FileNotFoundException) (org.mule.api.config.ConfigurationException)
org.mule.config.builders.AbstractResourceConfigurationBuilder:96 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/config/ConfigurationException.html)
--------------------------------------------------------------------------------
Root Exception stack trace:
java.io.FileNotFoundException: and
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)
+ 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)
********************************************************************************
ERROR 2011-05-20 12:00:59,800 [main] org.mule.MuleServer:
********************************************************************************
* A Fatal error has occurred while the server was running: *
* and (java.io.FileNotFoundException) *
* *
* The error is fatal, the system will shutdown *
********************************************************************************
I'm a student in eclipse, java, and mule. I'm getting an error when trying to Run As--> Mule Server and have no idea what the problem could be. Any suggestions? Much thanks for any advice!!!
INFO 2011-05-20 12:00:59,425 [main] org.mule.MuleServer: Mule Server initializing...
ERROR 2011-05-20 12:00:59,785 [main] org.mule.MuleServer:
********************************************************************************
Message : and (java.io.FileNotFoundException)
Code : MULE_ERROR-12999
--------------------------------------------------------------------------------
Exception stack is:
1. and (java.io.FileNotFoundException)
org.mule.config.ConfigResource:35 (null)
2. and (java.io.FileNotFoundException) (org.mule.api.config.ConfigurationException)
org.mule.config.builders.AbstractResourceConfigurationBuilder:96 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/config/ConfigurationException.html)
--------------------------------------------------------------------------------
Root Exception stack trace:
java.io.FileNotFoundException: and
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)
+ 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)
********************************************************************************
ERROR 2011-05-20 12:00:59,800 [main] org.mule.MuleServer:
********************************************************************************
* A Fatal error has occurred while the server was running: *
* and (java.io.FileNotFoundException) *
* *
* The error is fatal, the system will shutdown *
********************************************************************************
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我发现切割和切割总是有帮助的。将错误消息粘贴到 Google 中,看看还有谁经历过我的痛苦。
当我为你这样做时,我得到:
http: //mule.1045714.n5.nabble.com/Error-in-Hello-Example-td2677866.html
I find that it always helps to cut & paste error messages into Google to see who else has experienced my pain.
When I do that for yours, I get this:
http://mule.1045714.n5.nabble.com/Error-in-Hello-Example-td2677866.html
仅供参考,路径中包含 Mule 3.1.2 空格应该没问题(尽管我个人随时劝阻它,谁知道接下来哪个库会失败),并且不再需要 MULE_HOME env 变量。事实上,如果设置的话,建议将其删除。试试吧,3.1.2 随时都会发布。
FYI, with Mule 3.1.2 spaces in the path should be ok (although I personally discourage it any day, who knows which lib fails next), and MULE_HOME env variable is no longer required. In fact it is advised to remove one if set. Give it a try, 3.1.2 is coming out any day now.