首页 > 解决方案 > Eclipse:令牌“catch”上的语法错误,需要标识符

问题描述

我正在为我的 Web 应用程序尝试 Firebase 连接,但代码不断在catch关键字上显示错误。

这是我的代码,在登录屏幕的登录功能下:

firebase.auth().signInWithEmailAndPassword(userEmail,userPassword).catch(Exception) {};

标签: eclipsefirebasejsp

解决方案


推荐阅读