Announcement Announcement Module
Collapse
No announcement yet.
Problem building Roo app with database: GOOGLE_APP_ENGINE Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem building Roo app with database: GOOGLE_APP_ENGINE

    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?

  • #2
    Any news about this issue?

    Hello cjansen

    Have you found out any thing about this issue? Because I have the same Problem.

    Regards

    Patrick

    Comment


    • #3
      dependency

      So I can remove all this dependency which roo generates for me?
      Code:
              <dependency>
                  <groupId>org.datanucleus</groupId>
                  <artifactId>datanucleus-core</artifactId>
                  <version>3.0.4</version>
              </dependency>
              <dependency>
                  <groupId>org.datanucleus</groupId>
                  <artifactId>datanucleus-api-jpa</artifactId>
                  <version>3.0.4</version>
              </dependency>
              <dependency>
                  <groupId>org.datanucleus</groupId>
                  <artifactId>datanucleus-rdbms</artifactId>
                  <version>3.0.4</version>
              </dependency>

      Comment


      • #4
        I'll try to create modifying my pom as suggested and post what worked for me. Seems though that Roo should be handling this automagically...

        Comment


        • #5
          Changing datanucleus-core to 3.0.7 seems to work for me

          Comment

          Working...
          X