MiguelAngelVega / openid4java

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

new ConsumerManager() produces java.lang.NoClassDefFoundError: javax/inject/Provider #158

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. execute
new ConsumerManager();

What is the expected output? 
a ConsumerManager instance;

What do you see instead?
java.lang.NoClassDefFoundError: javax/inject/Provider
    java.lang.ClassLoader.defineClass1(Native Method)
    java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2733)
    org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1124)
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1612)
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
    org.openid4java.consumer.ConsumerManager.<init>(ConsumerManager.java:167)
    org.mskcc.portal.openIDlogin.SampleConsumer.setHandlerURL(SampleConsumer.java:70)
    org.mskcc.portal.servlet.OpenIDServlet.doPost(OpenIDServlet.java:54)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

What version of the product are you using? On what operating system?
openid4java-0.9.6.662.tar.gz
Mac OS X

Please provide any additional information below.
I'm working on deadline. $50 to anyone who solves this for me by 10 AM EST 
7/11/11. ArtGoldberg@gmail.com

thanks
Arthur

Original issue reported on code.google.com by artgoldb...@gmail.com on 10 Jul 2011 at 9:18

GoogleCodeExporter commented 9 years ago
solved;
added javax.inject.jar httpcore-4.1.jar
reward no longer available

Original comment by artgoldb...@gmail.com on 10 Jul 2011 at 10:17

GoogleCodeExporter commented 9 years ago

Original comment by Johnny.B...@gmail.com on 31 Oct 2012 at 9:21