You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by dinesh kumar <di...@gmail.com> on 2007/08/13 21:14:37 UTC
not found in application namespace ERROR!!
hey iam new to tapestry . i started with the quick start tutorials in the
tapestry page after compleating that i found this error can any one help me
how to sort it .. how to fix this in the application name space.
home.html
<html jwcid="@Shell" title="Tapestry Component DataBase">
<head>
<title> form tutorial</title>
</head>
<body>
<h1> Tapestry Component Database</h1>
<p>
Options:
</p>
<ul>
<li><a jwcid="@PageLink" page="AddProject"> Add New
Project</a></li>
<li><a jwcid="@PageLink" page="Page3">Extra Page</a></li>
</ul>
</body>
</html>
Page3.html
<html jwcid="@Shell" title="Extra Page">
<head>
<title></title>
</head>
<body jwcid="@Body">
<h1> welcome to page 3</h1>
</body>
</html>
------------------------------
-----------------------------------------------------------------------------------
An exception has occurred.
You may continue by *restarting<
http://localhost:8084/Form/app?service=restart>
* the session.
[ +/- ] Exception:
<http://localhost:8084/Form/app?page=Page3&service=page>Page 'Page3'
not found in application namespace.
org.apache.tapestry.PageNotFoundException Page 'Page3' not found in
application namespace. pageName: Page3 Stack Trace:
- org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve(
PageSpecificationResolverImpl.java:147)
-
$PageSpecificationResolver_114607e6394.resolve($PageSpecificationResolver_114607e6394.java)
- $PageSpecificationResolver
_114607e6395.resolve($PageSpecificationResolver_114607e6395.java)
- org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:114)
- $IPageSource_114607e62f7.getPage($IPageSource_114607e62f7.java)
- org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java:239)
- org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java:226)
- org.apache.tapestry.engine.RequestCycle.activate(RequestCycle.java:573)
- org.apache.tapestry.engine.PageService.service(PageService.java:66)
- $IEngineService_114607e637f.service($IEngineService_114607e637f.java)
- org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(
EngineServiceOuterProxy.java:72)
- org.apache.tapestry.engine.AbstractEngine.service(
AbstractEngine.java:246)
- org.apache.tapestry.services.impl.InvokeEngineTerminator.service(
InvokeEngineTerminator.java:54)
-
$WebRequestServicer_114607e635d.service($WebRequestServicer_114607e635d.java)
-
$WebRequestServicer_114607e6359.service($WebRequestServicer_114607e6359.java)
Re: not found in application namespace ERROR!!
Posted by dinesh kumar <di...@gmail.com>.
yes . iam attaching the doc2.doc file showing my file structure,
On 8/13/07, Marcos Chicote <to...@gmail.com> wrote:
>
> where is the .page file? under web-inf too?
>
> On 8/13/07, dinesh kumar <di...@gmail.com> wrote:
> >
> > hello thanks for the reply . but i still have a problem.
> >
> > 1. in the home.html i used the @pagelink to page="page1" ( both
> having
> > no java class files)
> >
> > 2. i created a page1.html in WEB-INF folder .
> >
> > 3. then i deployed and saw in the web browser. when i click the page1
> > link it shows this page not found exception error.
> >
> > 4 . did i forget to write any code elsewhere ?
> >
> > i want to navigate from one page to the other page ..how to do can u
> > explain me with some example codes..
> >
> > thanx.
> >
> > On 8/13/07, Ulrich St�rk <ul...@spielviel.de> wrote:
> > >
> > > You forgot to write a corresponding page class for Page3. If you did
> > > make sure that you either referenced it in your Page3.page or that you
> > > put it into the package denoted by the
> > > org.apache.tapestry.page-class-packages configuration property (see
> > > http://tapestry.apache.org/tapestry4.1/usersguide/configuration.htmlfor
> > > details).
> > >
> > > Uli
> > >
> > > dinesh kumar schrieb:
> > > > hey iam new to tapestry . i started with the quick start tutorials
> in
> > > the
> > > > tapestry page after compleating that i found this error can any one
> > help
> > > me
> > > > how to sort it .. how to fix this in the application name space.
> > > >
> > > > home.html
> > > >
> > > > <html jwcid="@Shell" title="Tapestry Component DataBase">
> > > > <head>
> > > > <title> form tutorial</title>
> > > > </head>
> > > > <body>
> > > > <h1> Tapestry Component Database</h1>
> > > >
> > > > <p>
> > > > Options:
> > > > </p>
> > > > <ul>
> > > > <li><a jwcid="@PageLink" page="AddProject"> Add New
> > > > Project</a></li>
> > > > <li><a jwcid="@PageLink" page="Page3">Extra Page</a></li>
> > > > </ul>
> > > > </body>
> > > > </html>
> > > >
> > > > Page3.html
> > > >
> > > > <html jwcid="@Shell" title="Extra Page">
> > > > <head>
> > > > <title></title>
> > > > </head>
> > > > <body jwcid="@Body">
> > > > <h1> welcome to page 3</h1>
> > > > </body>
> > > > </html>
> > > >
> > > > ------------------------------
> > > >
> > >
> >
> -----------------------------------------------------------------------------------
> > > > An exception has occurred.
> > > >
> > > > You may continue by *restarting<
> > > > http://localhost:8084/Form/app?service=restart>
> > > > * the session.
> > > > [ +/- ] Exception:
> > > > <http://localhost:8084/Form/app?page=Page3&service=page>Page 'Page3'
> > > > not found in application namespace.
> > > > org.apache.tapestry.PageNotFoundException Page 'Page3' not found in
> > > > application namespace. pageName: Page3 Stack Trace:
> > > >
> > > > -
> org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve
> > (
> > > > PageSpecificationResolverImpl.java:147)
> > > > -
> > > >
> > >
> >
> $PageSpecificationResolver_114607e6394.resolve($PageSpecificationResolver_114607e6394.java)
> > > >
> > > > - $PageSpecificationResolver
> > > > _114607e6395.resolve($PageSpecificationResolver_114607e6395.java)
> > > >
> > > > - org.apache.tapestry.pageload.PageSource.getPage(PageSource.java
> > :114)
> > > >
> > > > - $IPageSource_114607e62f7.getPage($IPageSource_114607e62f7.java)
> > > > - org.apache.tapestry.engine.RequestCycle.loadPage(
> RequestCycle.java
> > > :239)
> > > >
> > > > - org.apache.tapestry.engine.RequestCycle.getPage(
> RequestCycle.java
> > > :226)
> > > >
> > > > - org.apache.tapestry.engine.RequestCycle.activate(
> RequestCycle.java
> > > :573)
> > > >
> > > > - org.apache.tapestry.engine.PageService.service(PageService.java
> > :66)
> > > > -
> > > $IEngineService_114607e637f.service($IEngineService_114607e637f.java)
> > > >
> > > > -
> org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(
> > > > EngineServiceOuterProxy.java:72)
> > > > - org.apache.tapestry.engine.AbstractEngine.service(
> > > > AbstractEngine.java:246)
> > > > - org.apache.tapestry.services.impl.InvokeEngineTerminator.service
> (
> > > > InvokeEngineTerminator.java:54)
> > > > -
> > > >
> > >
> >
> $WebRequestServicer_114607e635d.service($WebRequestServicer_114607e635d.java)
> > > >
> > > > -
> > > >
> > >
> >
> $WebRequestServicer_114607e6359.service($WebRequestServicer_114607e6359.java)
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > > For additional commands, e-mail: users-help@tapestry.apache.org
> > >
> > >
> >
>
Re: not found in application namespace ERROR!!
Posted by Marcos Chicote <to...@gmail.com>.
where is the .page file? under web-inf too?
On 8/13/07, dinesh kumar <di...@gmail.com> wrote:
>
> hello thanks for the reply . but i still have a problem.
>
> 1. in the home.html i used the @pagelink to page="page1" ( both having
> no java class files)
>
> 2. i created a page1.html in WEB-INF folder .
>
> 3. then i deployed and saw in the web browser. when i click the page1
> link it shows this page not found exception error.
>
> 4 . did i forget to write any code elsewhere ?
>
> i want to navigate from one page to the other page ..how to do can u
> explain me with some example codes..
>
> thanx.
>
> On 8/13/07, Ulrich Stärk <ul...@spielviel.de> wrote:
> >
> > You forgot to write a corresponding page class for Page3. If you did
> > make sure that you either referenced it in your Page3.page or that you
> > put it into the package denoted by the
> > org.apache.tapestry.page-class-packages configuration property (see
> > http://tapestry.apache.org/tapestry4.1/usersguide/configuration.html for
> > details).
> >
> > Uli
> >
> > dinesh kumar schrieb:
> > > hey iam new to tapestry . i started with the quick start tutorials in
> > the
> > > tapestry page after compleating that i found this error can any one
> help
> > me
> > > how to sort it .. how to fix this in the application name space.
> > >
> > > home.html
> > >
> > > <html jwcid="@Shell" title="Tapestry Component DataBase">
> > > <head>
> > > <title> form tutorial</title>
> > > </head>
> > > <body>
> > > <h1> Tapestry Component Database</h1>
> > >
> > > <p>
> > > Options:
> > > </p>
> > > <ul>
> > > <li><a jwcid="@PageLink" page="AddProject"> Add New
> > > Project</a></li>
> > > <li><a jwcid="@PageLink" page="Page3">Extra Page</a></li>
> > > </ul>
> > > </body>
> > > </html>
> > >
> > > Page3.html
> > >
> > > <html jwcid="@Shell" title="Extra Page">
> > > <head>
> > > <title></title>
> > > </head>
> > > <body jwcid="@Body">
> > > <h1> welcome to page 3</h1>
> > > </body>
> > > </html>
> > >
> > > ------------------------------
> > >
> >
> -----------------------------------------------------------------------------------
> > > An exception has occurred.
> > >
> > > You may continue by *restarting<
> > > http://localhost:8084/Form/app?service=restart>
> > > * the session.
> > > [ +/- ] Exception:
> > > <http://localhost:8084/Form/app?page=Page3&service=page>Page 'Page3'
> > > not found in application namespace.
> > > org.apache.tapestry.PageNotFoundException Page 'Page3' not found in
> > > application namespace. pageName: Page3 Stack Trace:
> > >
> > > - org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve
> (
> > > PageSpecificationResolverImpl.java:147)
> > > -
> > >
> >
> $PageSpecificationResolver_114607e6394.resolve($PageSpecificationResolver_114607e6394.java)
> > >
> > > - $PageSpecificationResolver
> > > _114607e6395.resolve($PageSpecificationResolver_114607e6395.java)
> > >
> > > - org.apache.tapestry.pageload.PageSource.getPage(PageSource.java
> :114)
> > >
> > > - $IPageSource_114607e62f7.getPage($IPageSource_114607e62f7.java)
> > > - org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java
> > :239)
> > >
> > > - org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java
> > :226)
> > >
> > > - org.apache.tapestry.engine.RequestCycle.activate(RequestCycle.java
> > :573)
> > >
> > > - org.apache.tapestry.engine.PageService.service(PageService.java
> :66)
> > > -
> > $IEngineService_114607e637f.service($IEngineService_114607e637f.java)
> > >
> > > - org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(
> > > EngineServiceOuterProxy.java:72)
> > > - org.apache.tapestry.engine.AbstractEngine.service(
> > > AbstractEngine.java:246)
> > > - org.apache.tapestry.services.impl.InvokeEngineTerminator.service(
> > > InvokeEngineTerminator.java:54)
> > > -
> > >
> >
> $WebRequestServicer_114607e635d.service($WebRequestServicer_114607e635d.java)
> > >
> > > -
> > >
> >
> $WebRequestServicer_114607e6359.service($WebRequestServicer_114607e6359.java)
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
>
Re: not found in application namespace ERROR!!
Posted by dinesh kumar <di...@gmail.com>.
hello thanks for the reply . but i still have a problem.
1. in the home.html i used the @pagelink to page="page1" ( both having
no java class files)
2. i created a page1.html in WEB-INF folder .
3. then i deployed and saw in the web browser. when i click the page1
link it shows this page not found exception error.
4 . did i forget to write any code elsewhere ?
i want to navigate from one page to the other page ..how to do can u
explain me with some example codes..
thanx.
On 8/13/07, Ulrich Stärk <ul...@spielviel.de> wrote:
>
> You forgot to write a corresponding page class for Page3. If you did
> make sure that you either referenced it in your Page3.page or that you
> put it into the package denoted by the
> org.apache.tapestry.page-class-packages configuration property (see
> http://tapestry.apache.org/tapestry4.1/usersguide/configuration.html for
> details).
>
> Uli
>
> dinesh kumar schrieb:
> > hey iam new to tapestry . i started with the quick start tutorials in
> the
> > tapestry page after compleating that i found this error can any one help
> me
> > how to sort it .. how to fix this in the application name space.
> >
> > home.html
> >
> > <html jwcid="@Shell" title="Tapestry Component DataBase">
> > <head>
> > <title> form tutorial</title>
> > </head>
> > <body>
> > <h1> Tapestry Component Database</h1>
> >
> > <p>
> > Options:
> > </p>
> > <ul>
> > <li><a jwcid="@PageLink" page="AddProject"> Add New
> > Project</a></li>
> > <li><a jwcid="@PageLink" page="Page3">Extra Page</a></li>
> > </ul>
> > </body>
> > </html>
> >
> > Page3.html
> >
> > <html jwcid="@Shell" title="Extra Page">
> > <head>
> > <title></title>
> > </head>
> > <body jwcid="@Body">
> > <h1> welcome to page 3</h1>
> > </body>
> > </html>
> >
> > ------------------------------
> >
> -----------------------------------------------------------------------------------
> > An exception has occurred.
> >
> > You may continue by *restarting<
> > http://localhost:8084/Form/app?service=restart>
> > * the session.
> > [ +/- ] Exception:
> > <http://localhost:8084/Form/app?page=Page3&service=page>Page 'Page3'
> > not found in application namespace.
> > org.apache.tapestry.PageNotFoundException Page 'Page3' not found in
> > application namespace. pageName: Page3 Stack Trace:
> >
> > - org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve(
> > PageSpecificationResolverImpl.java:147)
> > -
> >
> $PageSpecificationResolver_114607e6394.resolve($PageSpecificationResolver_114607e6394.java)
> >
> > - $PageSpecificationResolver
> > _114607e6395.resolve($PageSpecificationResolver_114607e6395.java)
> >
> > - org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:114)
> >
> > - $IPageSource_114607e62f7.getPage($IPageSource_114607e62f7.java)
> > - org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java
> :239)
> >
> > - org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java
> :226)
> >
> > - org.apache.tapestry.engine.RequestCycle.activate(RequestCycle.java
> :573)
> >
> > - org.apache.tapestry.engine.PageService.service(PageService.java:66)
> > -
> $IEngineService_114607e637f.service($IEngineService_114607e637f.java)
> >
> > - org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(
> > EngineServiceOuterProxy.java:72)
> > - org.apache.tapestry.engine.AbstractEngine.service(
> > AbstractEngine.java:246)
> > - org.apache.tapestry.services.impl.InvokeEngineTerminator.service(
> > InvokeEngineTerminator.java:54)
> > -
> >
> $WebRequestServicer_114607e635d.service($WebRequestServicer_114607e635d.java)
> >
> > -
> >
> $WebRequestServicer_114607e6359.service($WebRequestServicer_114607e6359.java)
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: not found in application namespace ERROR!!
Posted by Ulrich Stärk <ul...@spielviel.de>.
You forgot to write a corresponding page class for Page3. If you did
make sure that you either referenced it in your Page3.page or that you
put it into the package denoted by the
org.apache.tapestry.page-class-packages configuration property (see
http://tapestry.apache.org/tapestry4.1/usersguide/configuration.html for
details).
Uli
dinesh kumar schrieb:
> hey iam new to tapestry . i started with the quick start tutorials in the
> tapestry page after compleating that i found this error can any one help me
> how to sort it .. how to fix this in the application name space.
>
> home.html
>
> <html jwcid="@Shell" title="Tapestry Component DataBase">
> <head>
> <title> form tutorial</title>
> </head>
> <body>
> <h1> Tapestry Component Database</h1>
>
> <p>
> Options:
> </p>
> <ul>
> <li><a jwcid="@PageLink" page="AddProject"> Add New
> Project</a></li>
> <li><a jwcid="@PageLink" page="Page3">Extra Page</a></li>
> </ul>
> </body>
> </html>
>
> Page3.html
>
> <html jwcid="@Shell" title="Extra Page">
> <head>
> <title></title>
> </head>
> <body jwcid="@Body">
> <h1> welcome to page 3</h1>
> </body>
> </html>
>
> ------------------------------
> -----------------------------------------------------------------------------------
> An exception has occurred.
>
> You may continue by *restarting<
> http://localhost:8084/Form/app?service=restart>
> * the session.
> [ +/- ] Exception:
> <http://localhost:8084/Form/app?page=Page3&service=page>Page 'Page3'
> not found in application namespace.
> org.apache.tapestry.PageNotFoundException Page 'Page3' not found in
> application namespace. pageName: Page3 Stack Trace:
>
> - org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve(
> PageSpecificationResolverImpl.java:147)
> -
> $PageSpecificationResolver_114607e6394.resolve($PageSpecificationResolver_114607e6394.java)
>
> - $PageSpecificationResolver
> _114607e6395.resolve($PageSpecificationResolver_114607e6395.java)
>
> - org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:114)
>
> - $IPageSource_114607e62f7.getPage($IPageSource_114607e62f7.java)
> - org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java:239)
>
> - org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java:226)
>
> - org.apache.tapestry.engine.RequestCycle.activate(RequestCycle.java:573)
>
> - org.apache.tapestry.engine.PageService.service(PageService.java:66)
> - $IEngineService_114607e637f.service($IEngineService_114607e637f.java)
>
> - org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(
> EngineServiceOuterProxy.java:72)
> - org.apache.tapestry.engine.AbstractEngine.service(
> AbstractEngine.java:246)
> - org.apache.tapestry.services.impl.InvokeEngineTerminator.service(
> InvokeEngineTerminator.java:54)
> -
> $WebRequestServicer_114607e635d.service($WebRequestServicer_114607e635d.java)
>
> -
> $WebRequestServicer_114607e6359.service($WebRequestServicer_114607e6359.java)
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org