-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login popup fails to load, defaults.js 404 error #1408
Comments
I followed the tutorial, applied the fix and still face the issue described above but after applying the fix, a servlet exception appears in log: (aikau 1.0.101.15 in POM.xml). Any idea ? SEVERE: Servlet.service() for servlet Spring MVC Dispatcher Servlet threw exception |
Got the same issue. |
Thanks for your feedback. You're right. web.xml |
Following tutorial in chapter 1:
https://github.com/Alfresco/Aikau/blob/release-1.0.101.15/tutorial/chapters/Tutorial1.md
The home page is blank and there is 404 error regarding defaults.js page.
The expectation is this which you see if using aikau versions < 1.0.101.10
There was a modification to aikau to adjust for share/page services path not accessible, this was implemented in version 1.0.101.10 aikau. The archetype project pom lays down 1.0.101.15, the current aikau version is 1.0.105 (regardless any version you set in your pom > 1.0.101.9 will have this issue)
The tutorial project is missing a correction, to adjust for that change.
FIX
in src/main/webapp/WEB-INF/urlrewrite.xml
add rule:
^/noauth/(.*) /page/$1in src/main/webapp/WEB-INF/web.xml
add the filter mapping:
UrlRewriteFilter
/noauth/*
mvn clean install
mvn jetty:run
The text was updated successfully, but these errors were encountered: