java - Run Google AppEngine Application on IntelliJ 13 -
java - Run Google AppEngine Application on IntelliJ 13 -
i have guestbook appengine application working in command line. faster development need work in intellij thought ide. but, can't run application. guess problem configuration. how should configure ide?
when open pom project , seek run it, intellij shows warning: app engine facet not found in 'guestbook-war:war exploded' artifact
. after configure other options can run application. but, thought shows:
com.google.apphosting.utils.config.appengineconfigexception: not locate z:\demos\google-app-engine\guestbook\classes\artifacts\guestbook\web-inf\appengine-web.xml @ com.google.apphosting.utils.config.appenginewebxmlreader.getinputstream(appenginewebxmlreader.java:141) @ com.google.apphosting.utils.config.appenginewebxmlreader.readappenginewebxml(appenginewebxmlreader.java:75) @ com.google.apphosting.utils.config.earhelper.readwebmodule(earhelper.java:171) @ com.google.appengine.tools.development.applicationconfigurationmanager$warmoduleconfigurationhandle.readconfiguration(applicationconfigurationmanager.java:414) @ com.google.appengine.tools.development.applicationconfigurationmanager.<init>(applicationconfigurationmanager.java:159) @ com.google.appengine.tools.development.applicationconfigurationmanager.newwarconfigurationmanager(applicationconfigurationmanager.java:101) @ com.google.appengine.tools.development.applicationconfigurationmanager.newwarconfigurationmanager(applicationconfigurationmanager.java:87) @ com.google.appengine.tools.development.devappserverimpl.<init>(devappserverimpl.java:139) @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:57) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:45) @ java.lang.reflect.constructor.newinstance(constructor.java:526) @ com.google.appengine.tools.development.devappserverfactory.docreatedevappserver(devappserverfactory.java:258) @ com.google.appengine.tools.development.devappserverfactory.access$000(devappserverfactory.java:36) @ com.google.appengine.tools.development.devappserverfactory$1.run(devappserverfactory.java:226) @ com.google.appengine.tools.development.devappserverfactory$1.run(devappserverfactory.java:224) @ java.security.accesscontroller.doprivileged(native method) @ com.google.appengine.tools.development.devappserverfactory.createdevappserver(devappserverfactory.java:224) @ com.google.appengine.tools.development.devappserverfactory.createdevappserver(devappserverfactory.java:94) @ com.google.appengine.tools.development.devappservermain$startaction.apply(devappservermain.java:265) @ com.google.appengine.tools.util.parser$parseresult.applyargs(parser.java:48) @ com.google.appengine.tools.development.devappservermain.run(devappservermain.java:219) @ com.google.appengine.tools.development.devappservermain.main(devappservermain.java:210) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ com.intellij.rt.execution.application.appmain.main(appmain.java:120) caused by: java.io.filenotfoundexception: z:\demos\google-app-engine\guestbook\classes\artifacts\guestbook\web-inf\appengine-web.xml (el sistema no puede encontrar el archivo especificado) @ java.io.fileinputstream.open(native method) @ java.io.fileinputstream.<init>(fileinputstream.java:146) @ java.io.fileinputstream.<init>(fileinputstream.java:101) @ com.google.apphosting.utils.config.appenginewebxmlreader.getinputstream(appenginewebxmlreader.java:137) ... 27 more com.google.apphosting.utils.config.appengineconfigexception: invalid configuration @ com.google.appengine.tools.development.devappserverimpl.reportdeferredconfigurationexception(devappserverimpl.java:466) @ com.google.appengine.tools.development.devappserverimpl.dostart(devappserverimpl.java:226) @ com.google.appengine.tools.development.devappserverimpl.access$000(devappserverimpl.java:47) @ com.google.appengine.tools.development.devappserverimpl$1.run(devappserverimpl.java:213) @ com.google.appengine.tools.development.devappserverimpl$1.run(devappserverimpl.java:211) @ java.security.accesscontroller.doprivileged(native method) @ com.google.appengine.tools.development.devappserverimpl.start(devappserverimpl.java:211) @ com.google.appengine.tools.development.devappservermain$startaction.apply(devappservermain.java:277) @ com.google.appengine.tools.util.parser$parseresult.applyargs(parser.java:48) @ com.google.appengine.tools.development.devappservermain.run(devappservermain.java:219) @ com.google.appengine.tools.development.devappservermain.main(devappservermain.java:210) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ com.intellij.rt.execution.application.appmain.main(appmain.java:120) caused by: com.google.apphosting.utils.config.appengineconfigexception: invalid appengine-web.xml(z:\demos\google-app-engine\guestbook\classes\artifacts\guestbook\web-inf/appengine-web.xml) - not locate d:\demos\google-app-engine\guestbook\classes\artifacts\guestbook\web-inf\appengine-web.xml @ com.google.apphosting.utils.config.earhelper.readwebmodule(earhelper.java:173) @ com.google.appengine.tools.development.applicationconfigurationmanager$warmoduleconfigurationhandle.readconfiguration(applicationconfigurationmanager.java:414) @ com.google.appengine.tools.development.applicationconfigurationmanager.<init>(applicationconfigurationmanager.java:159) @ com.google.appengine.tools.development.applicationconfigurationmanager.newwarconfigurationmanager(applicationconfigurationmanager.java:101) @ com.google.appengine.tools.development.applicationconfigurationmanager.newwarconfigurationmanager(applicationconfigurationmanager.java:87) @ com.google.appengine.tools.development.devappserverimpl.<init>(devappserverimpl.java:139) @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:57) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:45) @ java.lang.reflect.constructor.newinstance(constructor.java:526) @ com.google.appengine.tools.development.devappserverfactory.docreatedevappserver(devappserverfactory.java:258) @ com.google.appengine.tools.development.devappserverfactory.access$000(devappserverfactory.java:36) @ com.google.appengine.tools.development.devappserverfactory$1.run(devappserverfactory.java:226) @ com.google.appengine.tools.development.devappserverfactory$1.run(devappserverfactory.java:224) @ java.security.accesscontroller.doprivileged(native method) @ com.google.appengine.tools.development.devappserverfactory.createdevappserver(devappserverfactory.java:224) @ com.google.appengine.tools.development.devappserverfactory.createdevappserver(devappserverfactory.java:94) @ com.google.appengine.tools.development.devappservermain$startaction.apply(devappservermain.java:265) ... 8 more
idea tries run application classes
directory, not target
directory. can configure this? saw classes
directory , there isn't of import in it. has folders , jars referred appengine, nil project. how can configure this?
java google-app-engine maven intellij-idea intellij-13
Comments
Post a Comment