Announcement Announcement Module
Collapse
No announcement yet.
greenpages sample problems Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • greenpages sample problems

    Hi!

    Thank you for your answer.
    I'm giving dmServer a try. I'm reading the "getting started" guide to understand how it works. I tried to run the greenpages application, but in the step 3.3, when running the command mvn package I got the following error:

    [INFO] Building jar: /home/victor/Software/SpringDM-Server/Samples/greenpages-1.0.0.RELEASE/solution/greenpages.db/target/greenpages.db-solution-1.0.0.SNAPSHOT.jar
    [INFO] [com.springsource.bundlor.:transform {execution: bundlor}]
    [INFO] Transforming bundle at /home/victor/Software/SpringDM-Server/Samples/greenpages-1.0.0.RELEASE/solution/greenpages.db/target/greenpages.db-solution-1.0.0.SNAPSHOT.jar to /home/victor/Software/SpringDM-Server/Samples/greenpages-1.0.0.RELEASE/solution/greenpages.db/target/greenpages.db-solution-1.0.0.SNAPSHOT.jar
    [FATAL ERROR] com.springsource.bundlor.maven.plugin.TransformBun dlorMojo#execute() caused a linkage error (java.lang.NoSuchMethodError) and may be out-of-date. Check the realms:
    [FATAL ERROR] Plugin realm = app0.child-container[com.springsource.bundlor:com.springsource.bundlor. maven]
    urls[0] = file:/home/victor/.m2/repository/com/springsource/bundlor/com.springsource.bundlor.maven/1.0.0.BUILD-SNAPSHOT/com.springsource.bundlor.maven-1.0.0.BUILD-SNAPSHOT.jar
    urls[1] = file:/home/victor/.m2/repository/org/springframework/org.springframework.core/2.5.6.A/org.springframework.core-2.5.6.A.jar
    urls[2] = file:/home/victor/.m2/repository/org/apache/commons/com.springsource.org.apache.commons.logging/1.1.1/com.springsource.org.apache.commons.logging-1.1.1.jar
    urls[3] = file:/home/victor/.m2/repository/com/springsource/bundlor/com.springsource.bundlor/1.0.0.BUILD-SNAPSHOT/com.springsource.bundlor-1.0.0.BUILD-SNAPSHOT.jar
    urls[4] = file:/home/victor/.m2/repository/org/objectweb/asm/com.springsource.org.objectweb.asm/3.1.0/com.springsource.org.objectweb.asm-3.1.0.jar
    urls[5] = file:/home/victor/.m2/repository/org/objectweb/asm/com.springsource.org.objectweb.asm.tree/3.1.0/com.springsource.org.objectweb.asm.tree-3.1.0.jar
    urls[6] = file:/home/victor/.m2/repository/org/objectweb/asm/com.springsource.org.objectweb.asm.commons/3.1.0/com.springsource.org.objectweb.asm.commons-3.1.0.jar
    urls[7] = file:/home/victor/.m2/repository/com/springsource/util/com.springsource.util.common/2.0.0.BUILD-SNAPSHOT/com.springsource.util.common-2.0.0.BUILD-SNAPSHOT.jar
    urls[8] = file:/home/victor/.m2/repository/com/springsource/util/com.springsource.util.math/2.0.0.BUILD-SNAPSHOT/com.springsource.util.math-2.0.0.BUILD-SNAPSHOT.jar
    urls[9] = file:/home/victor/.m2/repository/com/springsource/util/com.springsource.util.osgi/2.0.0.BUILD-SNAPSHOT/com.springsource.util.osgi-2.0.0.BUILD-SNAPSHOT.jar
    urls[10] = file:/home/victor/.m2/repository/com/springsource/util/com.springsource.util.parser.manifest/2.0.0.BUILD-SNAPSHOT/com.springsource.util.parser.manifest-2.0.0.BUILD-SNAPSHOT.jar
    urls[11] = file:/home/victor/.m2/repository/org/springframework/ws/org.springframework.xml/1.5.2.A/org.springframework.xml-1.5.2.A.jar
    urls[12] = file:/home/victor/.m2/repository/org/apache/ws/com.springsource.org.apache.ws.commons.schema/1.3.2/com.springsource.org.apache.ws.commons.schema-1.3.2.jar
    urls[13] = file:/home/victor/.m2/repository/org/springframework/org.springframework.beans/2.5.6.A/org.springframework.beans-2.5.6.A.jar
    urls[14] = file:/home/victor/.m2/repository/com/springsource/bundlor/com.springsource.bundlor.blint/1.0.0.BUILD-SNAPSHOT/com.springsource.bundlor.blint-1.0.0.BUILD-SNAPSHOT.jar
    urls[15] = file:/home/victor/.m2/repository/org/eclipse/osgi/org.eclipse.osgi/3.5.0.v20090311-1300/org.eclipse.osgi-3.5.0.v20090311-1300.jar
    urls[16] = file:/home/victor/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
    [FATAL ERROR] Container realm = plexus.core
    urls[0] = file:/usr/share/maven2/lib/wagon-ssh-common.jar
    urls[1] = file:/usr/share/maven2/lib/doxia-sink-api.jar
    urls[2] = file:/usr/share/maven2/lib/wagon-ssh.jar
    urls[3] = file:/usr/share/maven2/lib/wagon-file.jar
    urls[4] = file:/usr/share/maven2/lib/wagon-http-shared.jar
    urls[5] = file:/usr/share/maven2/lib/jsch.jar
    urls[6] = file:/usr/share/maven2/lib/plexus-container-default.jar
    urls[7] = file:/usr/share/maven2/lib/jtidy.jar
    urls[8] = file:/usr/share/maven2/lib/wagon-provider-api.jar
    urls[9] = file:/usr/share/maven2/lib/wagon-ssh-external.jar
    urls[10] = file:/usr/share/maven2/lib/commons-cli.jar
    urls[11] = file:/usr/share/maven2/lib/xml-apis.jar
    urls[12] = file:/usr/share/maven2/lib/wagon-http-lightweight.jar
    urls[13] = file:/usr/share/maven2/lib/plexus-utils.jar
    urls[14] = file:/usr/share/maven2/lib/plexus-interactivity-api.jar
    urls[15] = file:/usr/share/maven2/lib/maven2.jar
    [INFO] ------------------------------------------------------------------------
    [ERROR] FATAL ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] com.springsource.bundlor.BundleTransformer.transfo rm(Ljava/lang/String;Lcom/springsource/util/parser/manifest/ManifestContents;Ljava/lang/StringLjava/io/File;
    [INFO] ------------------------------------------------------------------------
    [INFO] Trace
    java.lang.NoSuchMethodError: com.springsource.bundlor.BundleTransformer.transfo rm(Ljava/lang/String;Lcom/springsource/util/parser/manifest/ManifestContents;Ljava/lang/StringLjava/io/File;
    at com.springsource.bundlor.maven.plugin.TransformBun dlorMojo.doExecute(TransformBundlorMojo.java:56)
    at com.springsource.bundlor.maven.plugin.AbstractBund lorMojo.execute(AbstractBundlorMojo.java:235)
    at org.apache.maven.plugin.DefaultPluginManager.execu teMojo(DefaultPluginManager.java:451)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoals(DefaultLifecycleExecutor.java:558)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoalWithLifecycle(DefaultLifecycleExecuto r.java:499)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoal(DefaultLifecycleExecutor.java:478)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoalAndHandleFailures(DefaultLifecycleExe cutor.java:330)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeTaskSegments(DefaultLifecycleExecutor.jav a:291)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.execute(DefaultLifecycleExecutor.java:142)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMav en.java:336)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven .java:129)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:2 87)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.classworlds.Launcher.launchEnhanced(L auncher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher. java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode (Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.ja va:375)
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 22 seconds
    [INFO] Finished at: Wed Jun 10 12:48:12 CEST 2009
    [INFO] Final Memory: 29M/360M
    [INFO] ------------------------------------------------------------------------


    I'm using the dmServer version 1.0.2.RELEASE and the sample greenpages-1.0.0.RELEASE.

    Thank you very much!

    Best regards,
    Victor

  • #2
    You are probably using some different versions of the bundlor library.
    As this is a dm Server problem, I'm moving it to the dm Server forum to get assistance from the dm Server team.

    Comment


    • #3
      Hi!

      Thank you for the tip. I found that:
      http://forum.springsource.org/showthread.php?t=71224
      I'm going to try it.

      Regards,
      Victor

      Comment

      Working...
      X