Announcement Announcement Module
Collapse
No announcement yet.
problem building spring webflow2.0.3 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • problem building spring webflow2.0.3

    When I try to build webflow using ant, I get the following error:

    D:\spring-webflow-2.0.3.RELEASE\projects\spring-build\mult
    i-bundle\artifact.xml:45: The following error occurred while executing this line
    :
    D:\spring-webflow-2.0.3.RELEASE\projects\spring-build\mult
    i-bundle\common.xml:71: The following error occurred while executing this line:
    D:\spring-webflow-2.0.3.RELEASE\projects\spring-build\stan
    dard\artifact.xml:16: impossible to resolve dependencies:
    resolve failed - see output for details

    Any ideas?

    Also, I am trying to build the sample applications, and was wondering if there is a pom.xml for the sample apps so that I can build it using maven. Additionally, I tried to deploy the swf-booking-portlet-mvc.war posted online into pluto 1.1, but unsuccessful with the following error:

    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/config/application-config.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: error trying to scan <jar-file>: file:/F:/pluto/pluto-1.1.6/webapps/swf-booking-portlet-mvc/WEB-
    INF/classes/

    I appreciate all your help.

    Thanks!

  • #2
    Hi,

    can you provide the error message which will be printed ?
    While building spring web flow from the current sources you need to have a internet connection. Because the build automatically resolves dependencies through the SpringSource Bundle Repository.

    Do you have a direct internet connection or proxy server in between ?
    Regarding the pom.xml, there is an open JIRA issue for that. You can see the status and track the issue in the JIRA tracker (KEY SWF-858)

    Your pluto error may have something to do with the path of your pluto installation. I'm afraid that hibernate can't scan you classed because of the path name.

    Is it possible to re-locate your pluto installation into c:/pluto without the version specific sub-folder ?

    Thanks
    Agim Emruli
    SpringSource

    Comment


    • #3
      Hi Agim,

      Thank you for your reply. I do have a stable internet connection and there is not proxy server in between. The complete error message is below:

      compile.init:
      [ivy:cachepath] Aug 25, 2008 9:35:38 AM org.apache.commons.httpclient.HttpMethod
      Director executeWithRetry
      [ivy:cachepath] INFO: I/O exception (java.net.UnknownHostException) caught when
      processing request: repository.springsource.com.s3.amazonaws.com
      [ivy:cachepath] Aug 25, 2008 9:35:38 AM org.apache.commons.httpclient.HttpMethod
      Director executeWithRetry
      [ivy:cachepath] INFO: Retrying request
      [ivy:cachepath] Aug 25, 2008 9:35:38 AM org.apache.commons.httpclient.HttpMethod
      Director executeWithRetry
      [ivy:cachepath] INFO: I/O exception (java.net.UnknownHostException) caught when
      processing request: repository.springsource.com.s3.amazonaws.com
      [ivy:cachepath] Aug 25, 2008 9:35:38 AM org.apache.commons.httpclient.HttpMethod
      Director executeWithRetry
      [ivy:cachepath] INFO: Retrying request
      [ivy:cachepath] Aug 25, 2008 9:35:38 AM org.apache.commons.httpclient.HttpMethod
      Director executeWithRetry
      [ivy:cachepath] INFO: I/O exception (java.net.UnknownHostException) caught when
      processing request: repository.springsource.com.s3.amazonaws.com
      [ivy:cachepath] Aug 25, 2008 9:35:38 AM org.apache.commons.httpclient.HttpMethod
      Director executeWithRetry
      [ivy:cachepath] INFO: Retrying request
      [ivy:cachepath] Aug 25, 2008 9:35:38 AM org.apache.commons.httpclient.HttpMethod
      Director executeWithRetry
      [ivy:cachepath] INFO: I/O exception (java.net.UnknownHostException) caught when
      processing request: repository.springsource.com.s3.amazonaws.com
      [ivy:cachepath] Aug 25, 2008 9:35:38 AM org.apache.commons.httpclient.HttpMethod
      Director executeWithRetry
      [ivy:cachepath] INFO: Retrying request
      [ivy:cachepath] Aug 25, 2008 9:35:38 AM org.apache.commons.httpclient.HttpMethod
      Director executeWithRetry
      [ivy:cachepath] INFO: I/O exception (java.net.UnknownHostException) caught when
      processing request: repository.springsource.com.s3.amazonaws.com
      [ivy:cachepath] Aug 25, 2008 9:35:38 AM org.apache.commons.httpclient.HttpMethod
      Director executeWithRetry
      [ivy:cachepath] INFO: Retrying request
      [ivy:cachepath]
      [ivy:cachepath] :: problems summary ::
      [ivy:cachepath] :::: WARNINGS
      [ivy:cachepath] [NOT FOUND ] org.eclipse.jdt#com.springsource.o
      rg.eclipse.jdt.core.compiler.batch;3.3.0!com.sprin gsource.org.eclipse.jdt.core.c
      ompiler.batch-sources.jar(src) (5278ms)
      [ivy:cachepath] ==== bundle-external-repository: tried
      [ivy:cachepath] s3://repository.springsource.com/ivy/bundles/external/
      org.eclipse.jdt/com.springsource.org.eclipse.jdt.core.compiler.bat ch/3.3.0/com.s
      pringsource.org.eclipse.jdt.core.compiler.batch-sources-3.3.0.jar
      [ivy:cachepath] ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:cachepath] :: FAILED DOWNLOADS ::
      [ivy:cachepath] :: ^ see resolution messages for details ^ ::
      [ivy:cachepath] ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:cachepath] :: org.eclipse.jdt#com.springsource.org.eclipse.
      jdt.core.compiler.batch;3.3.0!com.springsource.org .eclipse.jdt.core.compiler.bat
      ch-sources.jar(src)
      [ivy:cachepath] ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:cachepath]
      [ivy:cachepath]
      [ivy:cachepath] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
      [subant] Leaving directory: D:\spring-webflow-2.0.3.REL
      EASE\projects\spring-binding

      BUILD FAILED
      D:\spring-webflow-2.0.3.RELEASE\projects\spring-build\mult
      i-bundle\artifact.xml:45: The following error occurred while executing this line
      :
      D:\spring-webflow-2.0.3.RELEASE\projects\spring-build\mult
      i-bundle\common.xml:71: The following error occurred while executing this line:
      D:\spring-webflow-2.0.3.RELEASE\projects\spring-build\stan
      dard\artifact.xml:16: impossible to resolve dependencies:
      resolve failed - see output for details

      I will try to reinstall pluto.

      Thanks for your help,

      Anicad

      Comment

      Working...
      X