Pages

November 22, 2013

xstream: com.thoughtworks.xstream.converters.reflection.ObjectAccessException

If you get any com.thoughtworks.xstream.converters.reflection.ObjectAccessException from your java programs, it may be due to : an upgraded of java version to 7.
As mentioned in xstream site
  • Java 7 is detected and supported since xstream 1.4
Solution: Upgrade your xstream to 1.4

With maven: 
          <dependency>
                <artifactId>xstream</artifactId>
      <groupId>com.thoughtworks.xstream</groupId>
      <version>1.4</version>
          </dependency>  

1 comment: