I had the same problem. But, after adding the jars to the build path
as external jars, it complains about not finding the following:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent
(InstrumentationImpl.java:323)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain
(InstrumentationImpl.java:338)
Caused by: java.lang.RuntimeException: Unable to find appengine-
agentimpl.jar in C:\eclipse-jee-ganymede-SR2-win32\eclipse\plugins
\com.google.appengine.eclipse.sdkbundle_1.2.6.v200910130758\appengine-
java-sdk-1.2.6\lib\impl
at
com.google.appengine.tools.development.agent.AppEngineDevAgent.findAgentImplLib
(AppEngineDevAgent.java:97)
at
com.google.appengine.tools.development.agent.AppEngineDevAgent.premain
(AppEngineDevAgent.java:48)
... 6 more
Exception in thread "main" FATAL ERROR in native method: processing of
-javaagent failed
It does not find the appengine-agentimpl.jar. I add this library also
as an external jar, and it keeps getting the same error.
Any help is greatly appreciated.
As I side note, since I included the other libraries as external jars,
I get the following type of warning:
The following classpath entry 'C:\eclipse-jee-ganymede-SR2-
win32\eclipse\plugins
\com.google.appengine.eclipse.sdkbundle_1.2.6.v200910130758\appengine-
java-sdk-1.2.6\lib\agent\appengine-agentimpl.jar' will not be
available on the server's classpath TIE21
so, aren't they supposed to be under Lib? Any suggestions?
ROMEO
On Sep 17, 4:30 am, Clay Lenhart <[email protected]> wrote:
> That did it!! Thanks Jason!
>
> On Sep 16, 11:24 pm, "Jason (Google)" <[email protected]> wrote:
>
> > Try adding the JARs to your build path without copying them to your lib
> > directory. Just use "Add external JARs" in the Eclipse Build Path dialog.
>
> > - Jason
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---