If you have a finicky validator (or any validator), it may object to the attribute, which isn't part of (X)HTML.
The solution is to add a namespace declaration, like this:
<html xmlns:wicket="http://wicket.apache.org">
One of the important tenets of computer science is the Principle of Least Astonishment. Unsurprisingly, software and often hardware turn out to be full of surprising quirks. One questions if anyone else has ever heard of this principle.
This blog presents situations I encounter in my travails as a software developer, and solutions to problems which arise.
<html xmlns:wicket="http://wicket.apache.org">
As a general rule you should convert Java projects to Scala projects
by using the "Add Scala Nature" package explorer context menu action
unless you know what you're doing.