I used JDK8 as well, but getting below issue while running the Test suite.
[ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.4:compile (default) on project gw-cc-claim-jaxws: Compiler errors:
[ERROR] error at factory.registerObjectFactory(new ClaimProxyFactory(), TypeFactory.valueOf(Claim.class));
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] E:\JPDSlave\workspace\GW-Int-CC-Claim-Sonar\gw-cc-claim\gw-cc-claim-jaxws\src\main\java\com\aviva\ukgi\gw\cc\claim\mapper\SearchClaimResponseMapper.java:74:0::0 The type java.lang.reflect.AnnotatedElement cannot be resolved. It is indirectly referenced from required .class files
[ERROR] error at (no source information available)
[ERROR] E:\JPDSlave\workspace\GW-Int-CC-Claim-Sonar\gw-cc-claim\gw-cc-claim-jaxws\target\generated-sources\wsimport\aviva\uk\gi\dis\claim\v03\AddressMasterType.java:1:0::0 The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :gw-cc-claim-jaxws
Build step 'Invoke top-level Maven targets' marked build as failure
Finished: FAILURE
The same runs fine in JDK7, but not on JDK8.
Spring projects were compiled in JDK6.
Thanks in advance.
Regards
Milind