Announcement Announcement Module
Collapse
No announcement yet.
can't complile spring-batch codes from github Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • can't complile spring-batch codes from github

    Hi All,

    I fetched codes from github https://github.com/SpringSource/spring-batch and ran "mvn install -P bootstrap". But I always got below exception:

    [INFO] Scanning for projects...
    [INFO] Reactor build order:
    [INFO] Spring Batch Parent
    [INFO] Infrastructure
    [INFO] Core
    [INFO] Test
    [INFO] Spring Batch
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Spring Batch Parent
    [INFO] task-segment: [install]
    [INFO] ------------------------------------------------------------------------
    [INFO] [com.springsource.bundlor.:bundlor {execution: bundlor-transform}]
    [INFO] Ignored project with type = 'pom'
    [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
    [INFO] [install:install {execution: default-install}]
    [INFO] Installing E:\wsDefault\spring-batch\spring-batch-parent\pom.xml to C:\Users\dong\.m2\repository\org\springframework\b atch\spring-batch-parent\2.2.0.BUILD-SNAPSHOT\spring-batch-parent-2.2.0.BUILD-SNAPSHOT.pom
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Infrastructure
    [INFO] task-segment: [install]
    [INFO] ------------------------------------------------------------------------
    [INFO] [resources:resources {execution: default-resources}]
    [WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!
    [INFO] skip non existing resourceDirectory E:\wsDefault\spring-batch\spring-batch-infrastructure\src\main\resources
    [INFO] [compiler:compile {execution: default-compile}]
    [INFO] Compiling 13 source files to E:\wsDefault\spring-batch\spring-batch-infrastructure\target\classes
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Compilation failure
    E:\wsDefault\spring-batch\spring-batch-infrastructure\src\main\java\org\springframework\b atch\item\database\ExtendedConnectionDataSourcePro xy.java:[83,7] error: ExtendedConnectionDataSourceProxy is not abstract and does not override abstract method getParentLogger() in CommonDataSource


    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 6 seconds
    [INFO] Finished at: Sun Mar 11 11:58:16 CST 2012
    [INFO] Final Memory: 22M/53M
    [INFO] ------------------------------------------------------------------------



    My environment is:

    win7 home
    JDK 1.7
    mvn 2.2.1(mvn 3.0.4 also tried)

    I am new to spring-batch. Do you have any idea? thanks.

  • #2
    Does anyone have a solution to this problem?

    Comment


    • #3
      Have you tried just running the build (without the bootstrap profile)?

      Comment


      • #4
        compiles fine for me w/ and w/out the bootstrap profile

        linux/jdk 1.7.0_10/maven 3.0.3/2.2.0.BUILD-SNAPSHOT

        maybe you need to pull latest code?

        Comment

        Working...
        X