google-app-engine


gcloud:run error Application does not exist


When I run mvn clean compile, I get the files under "target" folder in my project.After this when I run mvn gcloud:run and I get this error.
[ERROR] Failed to execute goal com.google.appengine:gcloud-maven-plugin:2.0.9.10
6.v20160420:run (default-cli) on project HelloSpringWorld: The application direc
tory does not exist : D:\Maven_project\HelloSpringWorld\target/HelloSpringWorld-
0.1.0 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
I don't have any "HelloSpringWorld-0.1.0" folder inside my target folder.I don't know why it is pointing to it.How can I change gcloud:run to point to "target" folder instead of "target/HelloSpringWorld-0.1.0" please ?
my pom.xml , for the gcloud plugin
<
build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.google.appengine</groupId>
<artifactId>gcloud-maven-plugin</artifactId>
<version>2.0.9.106.v20160420</version>
<configuration>
<gcloud_directory>C:\Users\RPalliyalil\AppData\Local\Google\Cloud SDK\google-cloud-sdk</gcloud_directory>
<verbosity>debug</verbosity>
<staging_directory>D:\Maven_project\HelloSpringWorld\target</staging_directory>
</configuration>
</plugin>
</plugins>
</build>
Did you follow the guide? https://github.com/GoogleCloudPlatform/gcloud-maven-plugin
According to the guide, you should be running mvn clean install before actually running mvn gcloud:run. Also verify you have a WAR project, that is project with <packaging>war</packaging>.
If you do this correctly, during package phase maven-war-plugin will generate folder /target/${project.build.finalName}. In your case it means
/target/HelloSpringWorld-0.1.0.

Related Links

Google Plus Domains Api HTTP Request - add people fails
Get entities containing specific value - objectify
Google AppEngine ClientId and Client Secrets
Which SDK Version Does Appengine Use in Production
can not figure out relation between yaml and main page handler in google app engine
NoClassDefFoundError when adding new font in iText on AppEngine
Facebook login in Google Cloud Endpoints
To share a local host for go gae?
App-engine: JAX-RS with Jersey no working
Bi-directional one-to-many relationship in google app engine using JPA
How to check if field with value None is stored in datastore or not stored at all?
DeadlineExceededError in self.response.write
Google Drive invalid credentials
Google App Engine endpointscfg.py command starting 1.8.6 does not accept argument -f
Google Checkout Order Report API -> Google Wallet analog?
Access Denied exception when using google-api-java-client

Categories

HOME
url-redirection
xml
eslint
string
ggplot2
nvd3.js
pascal
fftw
package
alsa
rds
web-hosting
vert.x
bing-maps
mel
speech-synthesis
selectize.js
qsqlquery
http-post
wolframalpha
articulate-storyline
interpreter
comparator
windows-server-2003
maze
pic32
intersystems-cache
soot
sinch
browser-sync
alm
dotspatial
clickjacking
biztalk-rule-engine
sql-delete
xajax
raft
swagger-php
lint
loading
unordered-map
watchface
wmp
install.packages
importerror
sonarlint-eclipse
hammer.js
launchctl
qtranslate
pytables
hclust
simevents
observablecollection
redis-cluster
grass
aspen
rate-limiting
opserver
visual-sourcesafe-2005
openbabel
mass-assignment
webmatrix-3
primitive-types
human-computer-interface
tweenlite
verold
square-bracket
multiautocompletetextview
sphinxql
joomla-template
http-status-code-410
preload
android-loadermanager
redis-py
wcf-configuration
rmiregistry
extconf.rb
thttpd
appjs
apache-whirr
usertype
isa-swizzling
floating-point-exceptions
w3c-geolocation
codebase
twitterizer
uideviceorientation
binomial-heap
ajax-polling
eclipse-marketplace
application-verifier
scrollbars
qtabbar
django-piston
filesystemobject
web-application-project
feasibility
mathematical-notation
cuda.net
dojo-dnd
todos
linfu-dynamicproxy
blind

Resources

Encrypt Message