Hi,
  
      I tried to use javaagent to invoke PCEnhancer at the run time, but got 
and error of NoSuchMethodFound:
  
  
-javaagent:E:\wsjpa\openjpa\openjpa-kernel-5\target\openjpa-kernel-5-1.1.0-SNAPSHOT.jar
  
  
  Exception in thread "main" java.lang.NoSuchMethodException:  
org.apache.openjpa.enhance.InstrumentationFactory.premain(java.lang.String,  
java.lang.instrument.Instrumentation)
      at java.lang.Class.throwNoSuchMethodException(Class.java:274)
      at java.lang.Class.getMethod(Class.java:799)
      at 
sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:154)
  
  Fatal error: processing of -javaagent failed
  
  Any help will be appreciated.
  
  Regards,
  Fay
  
  
       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

Reply via email to