Hi guys,
I have a Tapestry app that comunicates with Google via OAuth by using a
certificate. When I issue the call in the pages onActivate() I receive a
'java.lang.NoSuchMethodError: java/security/PrivateKey' error which is
strange because in unit testing it works fine.
Does anyone know how (if at all) this might be connected to Tapestry? I
couldn't find an explanation for this anywhere...
PS: using Win7 64-Bit, Tapestry 5.2.2, JDK 1.6_22 64 Bit, Tomcat 7.04, Scala
2.8.0
relevant part of the log:
13:19:57.991 [http-80-exec-3] ERROR org.apache.tapestry5.ioc.Registry -
com.example.shared.common.GDataAccess$.loadKey()Ljava/security/PrivateKey;
13:19:57.993 [http-80-exec-3] ERROR org.apache.tapestry5.ioc.Registry -
Operations trace:
13:19:57.994 [http-80-exec-3] ERROR org.apache.tapestry5.ioc.Registry - [ 1]
Triggering event 'activate' on signup/Config
13:19:58.011 [http-80-exec-3] ERROR o.a.t.s.T.RequestExceptionHandler -
Processing of request failed with uncaught exception:
com.example.shared.common.GDataAccess$.loadKey()Ljava/security/PrivateKey;
java.lang.NoSuchMethodError:
com.example.shared.common.GDataAccess$.loadKey()Ljava/security/PrivateKey;
at com.example.web.pages.signup.Config.doOAuthRequest(Config.scala:57)
~[Config.class:na]
at com.example.web.pages.signup.Config.onActivate(Config.scala:36)
~[Config.class:na]
at
com.example.web.pages.signup.Config$MethodAccess_onActivate_12c30c79673.invoke(Config$MethodAccess_onActivate_12c30c79673.java)
~[na:na]
at
org.apache.tapestry5.internal.transform.BaseEventHandlerMethodInvoker.invokeEventHandlerMethod(BaseEventHandlerMethodInvoker.java:52)
~[tapestry-core-5.2.2.jar:5.2.2]
at
org.apache.tapestry5.internal.transform.OnEventWorker$4.invokeEventHandlers(OnEventWorker.java:157)
~[tapestry-core-5.2.2.jar:5.2.2]
at
org.apache.tapestry5.internal.transform.OnEventWorker$4.advise(OnEventWorker.java:136)
~[tapestry-core-5.2.2.jar:5.2.2]
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/java-lang-NoSuchMethodError-java-security-PrivateKey-tp3256802p3256802.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]