Application directory must exist and be a directory (Java + Eclipse + GAE) -



Application directory must exist and be a directory (Java + Eclipse + GAE) -

i trying create google app engine module in eclipse using java. have done next https://developers.google.com/appengine/docs/java/webtoolsplatform , https://developers.google.com/appengine/docs/java/modules/

i have created dynamic web project , enterprise application project.

but have problem when assigning module ear. in google app engine > deployment property page, got next options :

instead of :

so seek add together module manually, via application.xml, , create default folder containing appengine-web.xml module.

so folder hierarchy looks this

now, when tried start server, got next error:

info: application directory 'd:\project.metadata.plugins\org.eclipse.wst.server.core\tmp0\zearproject\default' must exist , directory. com.google.apphosting.utils.config.appengineconfigexception: invalid configuration @ com.google.appengine.tools.development.devappserverimpl.reportdeferredconfigurationexception(devappserverimpl.java:446) @ 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) caused by: com.google.apphosting.utils.config.appengineconfigexception: application directory 'd:\project.metadata.plugins\org.eclipse.wst.server.core\tmp0\zearproject\default' must exist , directory. @ com.google.apphosting.utils.config.earhelper.reportconfigexception(earhelper.java:91) @ com.google.apphosting.utils.config.earhelper.getapplicationdirectory(earhelper.java:184) @ com.google.apphosting.utils.config.earhelper.readearinfo(earhelper.java:115) @ com.google.appengine.tools.development.applicationconfigurationmanager.readearconfiguration(applicationconfigurationmanager.java:190) @ com.google.appengine.tools.development.applicationconfigurationmanager.(applicationconfigurationmanager.java:137) @ com.google.appengine.tools.development.applicationconfigurationmanager.newearconfigurationmanager(applicationconfigurationmanager.java:60) @ com.google.appengine.tools.development.devappserverimpl.(devappserverimpl.java:132) @ 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) ... 3 more

can help me?? :)

after create ear project, create dynamic web project each module. in new dynamic web project wizard alternative add together module in ear project. when done see sec screen each module.

note ear , modules not need in folder hierarchy mentioned in documentation.

java eclipse google-app-engine

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -