Spring 3 doesn't contain aopalliance.jar which is required for injecting EntityManager via the Spring Framework. To fix the problem you need to perform the following steps:

  1. Download the aopalliance JAR and add the library to the classpath.
    You can try downloading the JAR from the following locations:
  1. Fix your sources to remove the @Error annotation.

For additional details, please see the following references:

According to AOP Alliance at http://aopalliance.sourceforge.net/ LICENCE: all the source code provided by AOP Alliance is Public Domain. So, if it's supposed to be in the sample, please add it.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo