Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.5-RC1
-
None
-
ubuntu10.10, jdk1.6, tomcat7
Description
I've downloaded the wicket-examples-1.5-RC1.war file from the apache repository and deployed.
When I want to look at the source code for the spring example I get a "Access Denied You do not have access to the page you requested. Return to home page" in the pop up window.
I've randomly tested other examples but it seems to be working fine there.
A look in the log file showed this:
ERROR - SourcesPage - user is trying to access class: org.apache.wicket.spring.annot.web.AnnotPage which is not in the scope of org.apache.wicket.examples
ERROR - Component - Error while getting default model object for Component: [ [Component id = file, page = org.apache.wicket.examples.source.SourcesPage, path = 1:filespanel:file.SourcesPage$FilesBrowser$1, isVisible = true, isVersioned = true], markup = [markup = file:/home/jpe/programming/tomcat/apache-tomcat-7.0.5/webapps/wicket-examples-1.5-RC1/WEB-INF/classes/org/apache/wicket/examples/source/SourcesPage.html
<li wicket:id="file">
<a href="#" wicket:id="link"><span wicket:id="name"></span></a>
</li>, index = 0, current = '<li wicket:id="file">' (line 177, column 5)]]
ERROR - SourcesPage - user is trying to access class: org.apache.wicket.spring.common.web.HomePage which is not in the scope of org.apache.wicket.examples
ERROR - Component - Error while getting default model object for Component: [ [Component id = file, page = org.apache.wicket.examples.source.SourcesPage, path = 5:filespanel:file.SourcesPage$FilesBrowser$1, isVisible = true, isVersioned = true], markup = [markup = file:/home/jpe/programming/tomcat/apache-tomcat-7.0.5/webapps/wicket-examples-1.5-RC1/WEB-INF/classes/org/apache/wicket/examples/source/SourcesPage.html
<li wicket:id="file">
<a href="#" wicket:id="link"><span wicket:id="name"></span></a>
</li>, index = 0, current = '<li wicket:id="file">' (line 177, column 5)]]