[英]Can't get PrettyFaces running with Quarkus & Primefaces
我正在根據這個 repo https://github.com/apache/myfaces/tree/master/extensions/quarkus/showcase試驗 Quarkus + Myfaces/Primefaces。
在這里,我嘗試包含 Prettyfaces 以獲得更好的 URL。 更具體地說,我正在嘗試按照本指南https://github.com/ocpsoft/rewrite/blob/master/documentation/src/main/asciidoc/configuration/annotations/index.asciidoc使用注釋來使用 OCPSOFT Rewrite 。
在我看來,當使用注釋時,我只需要在 pom 中添加依賴項並像這樣注釋頁面:@Join(path="/welcome", to="/demo/index.xhtml")。 我都做了,可以看到
“RewritePhaseListener 啟動”
在控制台中,但 URL /welcome 不起作用。 有人在 Quarkus 中有Rewrite的工作示例嗎?
我認為如果沒有特殊的 quarkus 模塊,Rewrite 不會開箱即用。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.