Developer Notes: Spring Web Workflow 1.0.6 Maven 2 environment for development
Version 1.0.9 is very old version. However, almost all the examples found in the google search is based on Ant and IVY configuration. Therefore, I thought this blog will be beneficial to the people who are still in Ant configuration. Time to move to Maven.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.ojitha.swffirst</groupId> <artifactId>swf-first</artifactId> <packaging>war</packaging> <version>1.0-SNAPSHOT</version> <name>swf-first Maven Webapp</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>2.5.2</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <version>2.5.2</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>2.5.2</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>2.5.2</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webflow</artifactId> <version>1.0.6</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>2.5.4</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.4</source> <target>1.4</target> </configuration> </plugin> </plugins> <finalName>swf-first</finalName> </build> </project>
The most important point is error in missing class org/springframework/beans/PropertyAccessorFactory because this class is available form Spring version 2.5.2. Therefore early versions of Spring will not work.
Comments
Post a Comment
commented your blog