Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: First Project with Web-Flow

  1. #1
    Join Date
    Mar 2011
    Posts
    166

    Default First Project with Web-Flow

    I am trying to build a sample web-flow project based on the one from the book "Expert Spring MVS and Web Flow" but I am getting the following error as my project starts.

    2012-07-18 12:45:01,253 [http-8080-1] DEBUG org.springframework.beans.factory.support.DefaultL istableBeanFactory - Ignoring bean class loading failure for bean '/purchase.htm'
    org.springframework.beans.factory.CannotLoadBeanCl assException: Cannot find class [org.springframework.webflow.manager.mvc.FlowContro ller] for bean with name '/purchase.htm' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.webflow.manager.mvc.FlowContro ller

    does anyone know any easyer example to learn//

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,624

    Default

    Just one question do you have Expert Spring MVC or Pro Spring MVC? Because that matters greatly. As the author of the latter I was looking into this (together with Koen) however we don't have a spring-servlet.xml nor a bean with the name /purchase.htm.

    However the error you seem to have indicates that there is a missing dependency for webflow (maybe it doesn't get deployed properly).
    Last edited by Marten Deinum; Jul 19th, 2012 at 02:25 AM.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #3
    Join Date
    Mar 2011
    Posts
    166

    Default

    yes.. I am doing the sample from CHAPTER
    11 and 12...

  4. #4
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,624

    Default

    Could you answer which book you have... Because that greatly matters, as mentioned in the previous post in our book (the Pro one) there is no spring-servlet.xml nor any purchase.htm named bean.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  5. #5
    Join Date
    Mar 2011
    Posts
    166

    Default

    Expert Spring MVS and Web Flow

  6. #6
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,624

    Default

    Ok, that at least lowers my stress level , however you still have the problem. (I now nothing about the samples shipped with Expert Spring MVC as I did Pro Spring MVC the new book).

    Make sure that you have added the webflow jar files to the project and that the project is build and deployed correctly.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  7. #7
    Join Date
    Mar 2011
    Posts
    166

    Default

    thanks marten.. As you can see I am the Staten Island Java Group leader.. anyway to get a "NOT FOR RESALE" PDF version

  8. #8
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,624

    Default

    For that you would have to contact the publisher that is out-of-my-hands . Maybe you can trade-in/swap your Expert Spring MVC version for the new one, depending on when you bought it..
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  9. #9
    Join Date
    Mar 2011
    Posts
    166

    Default

    I had it for a few years... but never opened it until this week lol

  10. #10
    Join Date
    Mar 2011
    Posts
    166

    Default

    still cant get my hello world flow working.. so I posted the war with the source here on dropbox https://www.dropbox.com/s/5mojqctfqk...oWorldFlow.war

    Please let me know if you can help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •