[
https://issues.apache.org/jira/browse/WICKET-4303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177158#comment-13177158
]
Peter Ertl edited comment on WICKET-4303 at 12/29/11 1:18 PM:
--------------------------------------------------------------
I can confirm this broken behavior on 6.0-SNAPSHOT...
The problem only happens when the home page resides in the package that you map
with mountPackage(..). Moving the home page outside of the mounted package (so
it will by default be mapped to '/') will eliminate the problem. However this
is just a workaround for this bug and I am still investigating on the internals
of how to fix this.
was (Author: pete):
This problem only happens when the home page resides in the package that
you map with mountPackage(..). Moving the home page outside of the mounted
package (so it will by default be mapped to '/') will eliminate the problem.
However this is just a workaround for this bug and I am still investigating on
the internals of how to fix this.
> may be a 404 error when using mountPackage
> ------------------------------------------
>
> Key: WICKET-4303
> URL: https://issues.apache.org/jira/browse/WICKET-4303
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5.3, 6.0.0
> Environment: Internet Explorer,Chrome (Probably occurs in any browser)
> Reporter: Masaya Seko
> Labels: wicket
> Attachments: wicket153mount.zip
>
>
> If the transition destination page mountPackage HomePage, which displays a
> 404 error when you click on the link the normal component.
> This would not be a bug?
> When you reload before click, the issue does not occur.
> Wicket 1.4 this issue does not happen.
> The stack trace below.
> WARN - WicketObjects - Could not resolve class
> [wicket153mount...]
> java.lang.ClassNotFoundException: wicket153mount///
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:242)
> at
> org.apache.wicket.application.AbstractClassResolver.resolveClass(AbstractClassResolver.java:108)
> at
> org.apache.wicket.util.lang.WicketObjects.resolveClass(WicketObjects.java:68)
> at
> org.apache.wicket.request.mapper.AbstractComponentMapper.getPageClass(AbstractComponentMapper.java:138)
> at
> org.apache.wicket.request.mapper.PackageMapper.parseRequest(PackageMapper.java:142)
> at
> org.apache.wicket.request.mapper.AbstractBookmarkableMapper.mapRequest(AbstractBookmarkableMapper.java:263)
> at
> org.apache.wicket.request.mapper.mount.UnmountedMapperAdapter.mapRequest(UnmountedMapperAdapter.java:73)
> at
> org.apache.wicket.request.mapper.mount.MountMapper.mapRequest(MountMapper.java:131)
> at
> org.apache.wicket.request.mapper.CompoundRequestMapper.mapRequest(CompoundRequestMapper.java:130)
> at
> org.apache.wicket.request.cycle.RequestCycle.resolveRequestHandler(RequestCycle.java:181)
> at
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:206)
> at
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:280)
> at
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)
> at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira