Open GoogleCodeExporter opened 8 years ago
Seeing the exact same issue on Windows Vista 32 bits (also with API 3.0.2).
The stream_get version in FacebookJsonRestClient seems to be working though.
Original comment by amoru...@gmail.com
on 15 Mar 2010 at 3:44
I have seen this issue for getting albums:
java.lang.IllegalAccessError: com/sun/xml/bind/v2/runtime/reflect/opt/Const
Looks like it is this issue:
https://jaxb.dev.java.net/issues/show_bug.cgi?id=490
Forcing the use of jaxb 2.2 seemed to do the trick:
<dependency>
<groupId>com.google.code.facebookapi</groupId>
<artifactId>facebook-java-api</artifactId>
<version>3.0.3</version>
<exclusions>
<exclusion>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.code.facebookapi</groupId>
<artifactId>facebook-java-api-schema</artifactId>
<version>3.0.3</version>
<exclusions>
<exclusion>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.2</version>
</dependency>
If this is the case, the schema pom should really just be updated to use 2.2...
Original comment by jasper.r...@gmail.com
on 16 Mar 2010 at 8:04
Hello.
have you resolved this problem?
I have the same problem.
I'm looking forward for you advice.
Original comment by chenyime...@gmail.com
on 8 Dec 2010 at 2:52
Original issue reported on code.google.com by
lopez.i...@gmail.com
on 23 Feb 2010 at 4:47