In eclipse select "Run Configurations..." from the "Run" main menu ...
in the dialog that pops up, you you see a "G" icon in the tree view on the left and a "list" of configurations under that, (at least one), select your personal favorite, click on the"(x) arguements" tab and add the appropriate config, on my system it's: -javaagent:"C:\Program Files\eclipse\plugins \com.google.appengine.eclipse.sdkbundle_1.2.8.v200912040616\appengine- java-sdk-1.2.8\lib\agent\appengine-agent.jar" On Dec 6, 3:21 pm, Tahir Akram <tahirakra...@gmail.com> wrote: > Hi guys; > > I am getting the same issue as I just upgraded my sdk to 1.2.8. > > Where can I find the launch configurations for app engine. Please > help. > > I am getting following exception while running the server. > > Unable to locate the App Engine agent. Please use dev_appserver, > KickStart, or set the jvm flag: "-javaagent:<sdk_root>/lib/agent/ > appengine-agent.jar" > > On Oct 20, 3:00 am, Kris Carle <kbca...@gmail.com> wrote: > > > > > Hi Keith and Peter, > > > This helped me, thanks. It would help others if the release notes of > > the eclipse pluginhttp://code.google.com/eclipse/mentionedthat > > upgrading would break existing projects. I was assuming that I had > > broken something until I remembered that I upgraded recently. > > > In case it helps here is the VM argument I used. > > > -javaagent:/Applications/eclipse/plugins/ > > com.google.appengine.eclipse.sdkbundle_1.2.6.v200910131704/appengine- > > java-sdk-1.2.6/lib/agent/appengine-agent.jar > > > Thanks, > > > -Kris > > > On Oct 14, 2:13 pm, Keith Platfoot <kplatf...@google.com> wrote: > > > > Hi Peter, > > > As the message indicates, the local development server in App Engine 1.2.6 > > > now requires the use of a Java agent. If you're using the Google plugin, > > > this is easy to correct. > > > > Open your existing launch configuration. You should see an error message > > > at > > > the top about the missing Java agent. Copy and paste the entire > > > -javaagent > > > argument from the error message into the VM Arguments field on the launch > > > configuration's Arguments tab. The error should disappear, and you should > > > then able to save and run the launch configuration successfully. > > > > Let me know if you run into any other problems, > > > > Keith > > > > On Tue, Oct 13, 2009 at 9:12 PM, Peter Liu <tinyee...@gmail.com> wrote: > > > > > I update eclipse plugin and downloaded the new SDK, changed the > > > > project settings to use the new SDK, and get this error when starting > > > > the server. Switching back to 1.2.5 fixes the problem. > > > > > Did I missed some steps? > > > > > java.lang.RuntimeException: Unable to locate the App Engine agent. > > > > Please use dev_appserver, KickStart, or set the jvm flag: "- > > > > javaagent:<sdk_root>/lib/agent/appengine-agent.jar" > > > > at > > > > > com.google.appengine.tools.development.DevAppServerFactory.testAgentIsInstalled > > > > (DevAppServerFactory.java:102) > > > > at > > > > > com.google.appengine.tools.development.DevAppServerFactory.createDevAppServer > > > > (DevAppServerFactory.java:77) > > > > at > > > > > com.google.appengine.tools.development.DevAppServerFactory.createDevAppServer > > > > (DevAppServerFactory.java:38) > > > > at com.google.appengine.tools.development.DevAppServerMain > > > > $StartAction.apply(DevAppServerMain.java:153) > > > > at com.google.appengine.tools.util.Parser$ParseResult.applyArgs > > > > (Parser.java:48) > > > > at com.google.appengine.tools.development.DevAppServerMain.<init> > > > > (DevAppServerMain.java:113) > > > > at com.google.appengine.tools.development.DevAppServerMain.main > > > > (DevAppServerMain.java:89) > > > > Caused by: java.lang.NoClassDefFoundError: com/google/appengine/tools/ > > > > development/agent/AppEngineDevAgent > > > > at > > > > > com.google.appengine.tools.development.DevAppServerFactory.testAgentIsInstalled > > > > (DevAppServerFactory.java:98) > > > > ... 6 more > > > > Caused by: java.lang.ClassNotFoundException: > > > > com.google.appengine.tools.development.agent.AppEngineDevAgent > > > > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > > > > at java.security.AccessController.doPrivileged(Native Method) > > > > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > > > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:252) > > > > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) > > > > ... 7 more- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.