I’m trying to get chapter12-03/carserv-fitnesse to run. Some things I was able to work around, but then I got to the point where FitNesse shows a velocity stacktrace.
First, maven failed to resolved dependencies in its pom.xml. After these changes it stopped complaining:
- <groupId>org.starobjects.tested</groupId> - <artifactId>tested-release</artifactId> + <groupId>org.starobjects.tested.fitnesse</groupId> + <artifactId>release</artifactId> - <groupId>org.starobjects.tested</groupId> - <artifactId>fitnesse-fixtures</artifactId> + <groupId>org.starobjects.tested.fitnesse</groupId> + <artifactId>fixtures</artifactId> + <version>1.0-beta-3-SNAPSHOT</version>
Second, I replaced
import com.neuri.trinidad... with
import fitnesse.trinidad... (also removed
Third, running under Linux I I replaced the PROGRAM_ARGUMENTS of the launch command with
src/main/resources/FitNesseRoot (backslash to slash, uppercase N; without this change, it creates a single top-level directory and finds no files in it).
http://localhost:9090/ returns a “Not Found”, but
/FrontPage finds a page.
Fifth, the FrontPage shows a stack trace
org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'addChildPagePopup.vm'. This is where I am at a loss. In another context I had a similar error and fixed it by running “java -jar fitnesse.jar”, that is by calling the fitnesse server in such a way that it resolves all its dependencies from its own jar file.
Any suggestions how to get past this problem within the carserv-fitnesse setup?