Ravi Varanasi wrote:
Trying to use the jbehave web runner to provide a web interface to run
scenarios. Below the error message while trying to run the application using mvn
jetty_run command

Failure executing javac, but could not parse the error:
An exception has occurred in the compiler (1.5.0_20). Please file a bug at the J
ava Developer Connection (http://java.sun.com/webapps/bugreport)  after checking
 the Bug Parade for duplicates. Include your program and the following diagnosti
c in your report.  Thank you.
com.sun.tools.javac.code.Symbol$CompletionFailure: file org\jbehave\scenario\ann
otations\Named.class not found

This happens during compile phase.

Environment :
Windows XP
Java 1.5.0_20
Maven: 2.2.1

As a side note, the example for web-runner inherits the jbehave-web-examples
2.2-SNAPSHOT, but the latest version in the snapshots codehaus repo is
2.0-SNAPSHOT. I had to change the parent pom settings to 2.0-SNAPSHOT.


There's something fishy about this. Where are you getting the example?
Bear in mind that if you the examples are meant to be checked from trunk. If you check out latest from trunk, you won't find any reference to 2.0-SNAPSHOT. Please try the following:

svn co https://svn.codehaus.org/jbehave/trunk/web jbehave-web
cd jbehave-web
mvn clean install
cd examples/trader-web
mvn jetty:run-war

It works for me with

Apache Maven 2.2.0 (r788681; 2009-06-26 14:04:01+0100)
Java version: 1.5.0_20
OS name: "mac os x" version: "10.5.8" arch: "i386" Family: "unix"

and

Apache Maven 2.2.0 (r788681; 2009-06-26 14:04:01+0100)
Java version: 1.5.0_17
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

Cheers



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to