You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In revision 1.10, when using a custom welcome message using web.repositoriesMessage = ${baseFolder}/welcome.mkd the main pages fails to load with the following messages in the log:
[ERROR] Can't instantiate page using constructor public com.gitblit.wicket.pages.MyDashboardPage()
org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public com.gitblit.wicket.pages.MyDashboardPage()
Caused by: java.util.MissingResourceException: Unable to find property: 'gb.failedToRead' for component: [class=com.gitblit.wicket.pages.MyDashboardPage]
at org.apache.wicket.Localizer.getString(Localizer.java:344)
This happens if users choose a language different from English.
The solution is to copy (or translate) the welcome.mkd file to the other language too. So copy welcome.mkd to welcome.cs.mkd, welcome.de.mkd, and so on.
This was not needed in 1.9.3. In that revision if the translated welcome message did not exist, welcome.mkd was used.