私の最初の Wicket プロジェクト (Eclipse mars と Glassfish 4.1 を使用して Wicket 6.20 で開発) では、Quickstart Maven アーキタイプに基づいて、
getResourceSettings().getResourceFinders().add(new WebApplicationPath(getServletContext(), "html"));
コードからマークアップを分離するために使用しています。
ホームページは正常に動作しますが、WicketTester が例外をスローしますorg.apache.wicket.markup.MarkupNotFoundException: Can not determine Markup. Component is not yet connected to a parent. [Page class = ...MyProject.HomePage, id = 0, render count = 1]
この問題は、文献のどこにも取り組まれていないようです。