小编att*_*ofi的帖子

更新到STS 3.6.4.RELEASE后出错

我已将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

这意味着用英语:

错误:无法找到或加载主类Files.springsource.vfabric-tc-server-developer-2.9.3.RELEASE.base-instance.conf.logging.properties

有人有解决这个问题的方法吗?我已经清理了我的项目和服务器,但仍然出现错误.

谢谢

java eclipse spring-tool-suite

3
推荐指数
1
解决办法
641
查看次数

OR运算符 - 哪种语句更有效?

当我使用OR运算符时,只有一个表达式必须为true.第一个if语句是否更有效,因为java只检查第一个表达式?或者java检查两者?

public class Test {
    public static void main(String args[]) {

        boolean test = true;

        if (test || calculate()) {
            // do something
        }

        if (calculate() || test) {
            // do something
        }
    }

    public static boolean calculate() {
        // processor-intensive algorithm
    }
}
Run Code Online (Sandbox Code Playgroud)

java

0
推荐指数
1
解决办法
104
查看次数

标签 统计

java ×2

eclipse ×1

spring-tool-suite ×1