Hi Robert,
A quite common problem is that for some reason one of the jars is missing from the classpath. If you use the classpath plugin (as the default xebium setup prescribes) it sometimes happens that files that are required (in this case the fitnesse.jar itself) are missing on the classpath. The reason behind this is not always obvious though. There are some issues with the maven classpath plugin that sometimes results in unclear results, one of the things behind this is that it does not have the same context as the maven instance you use on startup.
There are a view things you need to check:
* Is the fitnesse.jar visible on the classpath (there must be a classpath somewhere visible on the fitnesse wiki, probably on your main project page).
* Check the location of the files on your classpath (is this the same location where maven gets/puts the files on startup)
* Is the physical fitnesse.jar file (if not on your classpath) available in your local repo (.m2/repositories/org/fitnesse/<version>)
* Is there one .m2 directory on your system and is it in the default location
* Try setting a $M2_HOME system variable if you don't already have this
* Is the .m2 directory on a local drive or on a remote share (the latter does not work very well)
If any of these problems occur, you could try putting the fitnesse jar in your fitnesse rootdirectory and add manually add it to your classpath, just add a line on your project page:
!define path ./fitnesse.jar (or whatever the precise name is)
Hope this is of help, let me know if you suspect one of the above problems, but can't find the proper solution.
Regards,
cirilo
On Thursday, March 28, 2013 11:07:01 AM UTC+1,
robert.c...@gmail.com wrote:
Hey,
Yesterday I installed Xebium on a local linux server and I want to test on my main (windows) pc and in the futher throughout a network (with/without VPN to external systems)
So far I got it running and I can acces the frontpage throughout the network.
But I set my first test up:
[quote]
|import|
|com.xebia.incubator.xebium|
| library |
| selenium driver fixture |
| script | selenium driver fixture |
| start browser | firefox | on url | https://www.google.nl/ |
| do | open | on | / |
| ensure | do | type | on | id=gbqfq | with | selenium |
| ensure | do | click | on | id=gbqfb |
| stop browser |
[/quote]
But when I ran the test, it failed and this showed:
[quote]
| Date: |
11:03:13 AM (CET) on Thursday, March 28, 2013 |
| Test Page: |
.FrontPage.MessAroundArea.SimpleGoogleSearch |
| Command: |
java -cp fitnesse.jar:defaultPath fit.FitServer robert 8000 6 |
| Exit code: |
-1 |
| Time elapsed: |
1.025 seconds |
Standard Error:
Error: Could not find or load main class fit.FitServer
Internal Exception:
FitClient: external process terminated before a connection could be established.
[/quote]