ramarao1990 / openid4java

Automatically exported from code.google.com/p/openid4java
Apache License 2.0
0 stars 0 forks source link

cannot instantiate ConsumerManager #32

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. instantiate new ConsumerManager()

What is the expected output? What do you see instead?
I expected an instance of ConsumerManager to be returned but instead I got
an exception:

Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.xpath.compiler.FunctionTable.installFunction(Ljava/lang/String;Lorg/a
pache/xpath/Expression;)I
    at org.apache.xml.security.Init.init(Unknown Source)
    at org.openxri.xml.XRD.<clinit>(XRD.java:108)
    at org.openid4java.discovery.Discovery.<init>(Discovery.java:58)
    at org.openid4java.consumer.ConsumerManager.<init>(ConsumerManager.java:51)
    at T.main(T.java:13)

What version of the product are you using? On what operating system?
0.9.4

Original issue reported on code.google.com by son.c...@gmail.com on 30 Sep 2007 at 6:53

GoogleCodeExporter commented 8 years ago
It looks like lib/xri/xmlsec-1.1.jar is a hard dependency for Discovery.java, 
so you 
need to copy it as well to your webapp's classpath.

Johnny

Original comment by Johnny.B...@gmail.com on 1 Oct 2007 at 8:55

GoogleCodeExporter commented 8 years ago

Original comment by Johnny.B...@gmail.com on 11 Oct 2007 at 4:45