Syntax error on token "configure", Identifier expected after this token
static{
Configuration config=new Configuration();
config.configure();
}
本文探讨了在静态初始化块中使用Configuration类实例并调用其configure方法时出现的语法错误。此错误提示表明在标识符'configure'后期待另一个标识符,但实际代码中并未正确遵循这一规则。
Syntax error on token "configure", Identifier expected after this token
static{
Configuration config=new Configuration();
config.configure();
}

被折叠的 条评论
为什么被折叠?
