myeclipse中文名字项目运行报错

今天由于项目进行分支,负责开发迭代的功能对应不同的分支项目,没想到的是分支项目名称加上了功能的中文名字。要使用了resin发布项目的时候,报了

java.io.CharConversionException: C:UsersAdministratorDesktop esin-3.1.11conf esin.conf:309: illegal utf8 encoding 0xcc  错误。

1.通过大量查找资料没有结果,后来就使用Tomcat试试,发现是没问题的

使用Tomcat的时候由于项目比较大报了 Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor. 错误

原因:由于myeclipse默认45秒内启动,超过45秒就报这个错误

解决方法:将timeouts设置大点

2.由于使用Tomcat试了是没问题,没理由resin不可以,后来经过反复读取java.io.CharConversionException: C:UsersAdministratorDesktop esin-3.1.11conf esin.conf:309: illegal utf8 encoding 0xcc  错误。

最终确定了是resin.conf文件编码的问题

解决方法:resin.conf文件转编码

原文地址:https://www.cnblogs.com/chenrenshui/p/9325812.html