Merge branch '2.7.x'
Closes gh-33845
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2022 the original author or authors.
|
||||
* Copyright 2012-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -133,7 +133,8 @@ public class StartMojo extends AbstractRunMojo {
|
||||
}
|
||||
}
|
||||
catch (IOException ex) {
|
||||
throw new MojoFailureException("Could not contact Spring Boot application", ex);
|
||||
throw new MojoFailureException("Could not contact Spring Boot application via JMX on port " + this.jmxPort
|
||||
+ ". Please make sure that no other process is using that port", ex);
|
||||
}
|
||||
catch (Exception ex) {
|
||||
throw new MojoExecutionException("Failed to connect to MBean server at port " + this.jmxPort, ex);
|
||||
|
||||
Reference in New Issue
Block a user