Hey guys -
I tried building a Roo application (using 1.2.0.RELEASE) this weekend and set the jpa setup as follows:
jpa setup --database GOOGLE_APP_ENGINE --provider DATANUCLEUS
When I try to compile the application, I get the following error:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:18.016s
[INFO] Finished at: Mon Jan 30 07:52:07 EST 2012
[INFO] Final Memory: 9M/64M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.datanucleus:maven-datanucleus-plugin:3.0.1:enhance (default) on project firetrax: Error executing enhancer: InvocationTargetException: Plugin (Bundle) "org.datanucleus" is already registered. Ensure you dont have multiple JAR versions of the same plugin in the classpath. The URL "file:/Z:/BlackSparx/springsource/jansenRepo/org/datanucleus/datanucleus-core/3.0.6/datanucleus-core-3.0.6.jar" is already registered, and you are trying to register an identical plugin located at URL "file:/Z:/BlackSparx/springsource/jansenRepo/org/datanucleus/datanucleus-core/3.0.4/datanucleus-core-3.0.4.jar." -> [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.
I've actually tried building the app on two separate machines and the issue is consistent. Anybody else encounter this?


Reply With Quote