Open GoogleCodeExporter opened 9 years ago
I have seen this same issue:
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:05
Original issue reported on code.google.com by
giovanni...@gmail.com
on 12 Nov 2009 at 11:57