Skip to content

Commit 9234e9f

Browse files
committed
Added Java 7 information
1 parent d696b52 commit 9234e9f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

examples/java-wicket/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Selenium WebDriver and Cucumber-JVM using Java.
55

66
### Maven
77

8-
Simply run:
8+
Run:
99

1010
```
1111
mvn install
@@ -14,3 +14,10 @@ mvn install
1414
This runs Cucumber features using the JUnit runner. The `@RunWith(Cucumber.class)` annotation on the `RunCukesIT` junit class
1515
kicks off Cucumber.
1616

17+
### Java 7
18+
19+
The cargo-maven2-plugin 1.3.0 is built using Java 7. This means that this example will fail if used with older Java versions. The error will be similar to:
20+
21+
```
22+
[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.3.0:start (start-servlet-engine) on project java-wicket-test: Execution start-servlet-engine of goal org.codehaus.cargo:cargo-maven2-plugin:1.3.0:start failed: An API incompatibility was encountered while executing org.codehaus.cargo:cargo-maven2-plugin:1.3.0:start: java.lang.UnsupportedClassVersionError: org/eclipse/jetty/server/Server : Unsupported major.minor version 51.0
23+
```

0 commit comments

Comments
 (0)