I had a similar problem with my grails application. In my case, a ClassNotFoundException exception was thrown from the script deployment. For me, the reason that SchemePortResolver was not resolved implicitly was because it was not needed at compile time, it was needed at runtime. Here is what I added to my BuildConfig.groovy to fix it:
runtime 'org.apache.httpcomponents:httpclient:4.5.2' //Required by BeanstalkDeploy.groovy at runtime
Since the OP question was for Maven, here the equivalent includes:
<dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.2</version> <scope>runtime</scope> </dependency>
eidolon1138
source share