当我运行此命令时:
mvn -e package -Pprod verify jib:dockerBuild
在jhipster-registry标准项目中,为了对这个应用程序进行 dockerize,我得到了这个错误:
[ERROR] Failed to execute goal com.google.cloud.tools:jib-maven-plugin:0.9.11:dockerBuild (default-cli) on project jhipster-registry: Invalid image reference: JHipster Registry:5.0.0 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.google.cloud.tools:jib-maven-plugin:0.9.11:dockerBuild (default-cli) on project jhipster-registry: Invalid image reference: JHipster Registry:5.0.0
Help1 中建议的链接是:
https://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException我有一个应用程序,如果日志记录操作正常,用户登录屏幕会发送到一个活动。但是每次我关闭应用程序时,应用程序都会询问电子邮件和密码,我想像 instagram 或 facebook 一样保持登录状态。我可以这样做吗?还有我该怎么做,我是否必须更改登录活动中的代码或创建另一个类来保存当前用户,我很困惑。有我的 firebase 登录代码:
登录活动;
public class SignInActivity extends AppCompatActivity {
private EditText SignInMail, SignInPass;
private FirebaseAuth auth;
private Button SignInButton;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//Get Firebase auth instance
auth = FirebaseAuth.getInstance();
// set the view now
setContentView(R.layout.activity_signin);
SignInMail = (EditText) findViewById(R.id.SignInMail);
SignInPass = (EditText) findViewById(R.id.SignInPass);
SignInButton = (Button) findViewById(R.id.SignInButton);
//Get Firebase auth instance
auth = FirebaseAuth.getInstance();
慕婉清6462132
jeck猫
吃鸡游戏
守着一只汪
相关分类