我已将 STS 更新到版本 3.6.4.RELEASE。当我尝试启动我的 java 项目时,我在控制台中收到此错误消息:
Fehler: Hauptklasse Files.springsource.vfabric-tc-server-developer-2.9.3.RELEASE.base-instance.conf.logging.properties konnte nicht gefunden oder geladen werden
英文的意思是:
Error: main class Files.springsource.vfabric-tc-server-developer-2.9.3.RELEASE.base-instance.conf.logging.properties could not be found or loaded
有人能解决这个问题吗?我已经清理了我的项目和服务器,但错误仍然存在。
谢谢
最佳答案
- 在“Project Explorer” View 中右键单击“Servers”
- 选择“运行方式”
- 选择“Run Configurations...”(这应该会显示“Run Configurations” 窗)
- 选择你使用的tc server(tc Server V2.9和tc Server V3.0-V3.01的问题是一样的)
- 选择标签“参数”
在 VM 参数中替换
-Djava.util.logging.config.file=C:/Program Files/springsource/vfabric-tc-server-developer-2.9.3.RELEASE/base-instance/conf/logging.properties
-Djava.util.logging.config.file="C:\Program Files\springsource\vfabric-tc-server-developer-2.9.3.RELEASE\base-instance\conf\logging.properties"
关于java - 更新到 STS 3.6.4.RELEASE 后出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29004274/