Page Not Found

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Page Not Found

Karen Goh
Hi,

I am new to Grails.  I just picked up a book - Grails 2 - A Quick Start Guide by Dave Klein and Ben Klein.

Right now, I am at the stage to display the http://localhost:8080/TekDays at my browser.
Howerver, there is an error message that says Page Not Found, a 404 error with Path/TekDays.

Please see attached.

I do not know how to debug the error.  I simply follows what is said in the book.

Please let me know what does the error mean and how do I go about debugging this error.

Tks.

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/c3c9e3ef-7956-46b9-b011-01a326aed742%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Page Not Found

sbglasius
Hi Karen,

If you are trying to run it in Grails 3, the default context is http://localhost:8080/ 

If you want to change the default context, add the following to the bottom of your grails-app/conf/application.yml:

---
server:
    contextPath: /TekDays

By the way, discussion of user-issues should be in https://groups.google.com/forum/#!forum/grails, [hidden email] is for discussing framework related issues


Hope it helps.

Best regards / Med venlig hilsen,
Søren Berg Glasius

Hedevej 1, Gl. Rye, 8680 Ry, Denmark
Mobile: +45 40 44 91 88, Skype: sbglasius
--- Press ESC once to quit - twice to save the changes.


On Tue, 11 Dec 2018 at 08:55, 'Karen Goh' via Grails Dev Discuss <[hidden email]> wrote:
Hi,

I am new to Grails.  I just picked up a book - Grails 2 - A Quick Start Guide by Dave Klein and Ben Klein.

Right now, I am at the stage to display the http://localhost:8080/TekDays at my browser.
Howerver, there is an error message that says Page Not Found, a 404 error with Path/TekDays.

Please see attached.

I do not know how to debug the error.  I simply follows what is said in the book.

Please let me know what does the error mean and how do I go about debugging this error.

Tks.

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/c3c9e3ef-7956-46b9-b011-01a326aed742%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/CAGY%2BWWTmrZhTq%3D0zBuN-NMa84%2B5GoM0T_j%2BzSQxWuLODzLsxeg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Page Not Found

Daniel Leahy
Hi Karen, 

Soren is correct about the context path.

What is more important is that Grails 2 is obsolete and you shouldn't touch it unless you have to for work purposes.

Grails 4 is going to be released very soon.

Grails 3.3.9 is the latest Grails 

www.grails.org

I would highly recommend this book 

https://www.grails3book.com/

and 

http://guides.grails.org/

is a very good resource, along with 


https://start.grails.org/


Grails3 is built on top of springboot, another java framework.

and usually lags behind it.

http://spring.io/


Regards,
                  Daniel Leahy.













On Tuesday, 11 December 2018 09:09:46 UTC, Søren Berg Glasius wrote:
Hi Karen,

If you are trying to run it in Grails 3, the default context is <a href="http://localhost:8080/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flocalhost%3A8080%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHav3I9_aV-3Af2UKEFgwwK-QWYeQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flocalhost%3A8080%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHav3I9_aV-3Af2UKEFgwwK-QWYeQ&#39;;return true;">http://localhost:8080/ 

If you want to change the default context, add the following to the bottom of your grails-app/conf/application.yml:

---
server:
    contextPath: /TekDays

By the way, discussion of user-issues should be in <a href="https://groups.google.com/forum/#!forum/grails" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/forum/#!forum/grails&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/forum/#!forum/grails&#39;;return true;">https://groups.google.com/forum/#!forum/grails, <a href="javascript:" target="_blank" gdf-obfuscated-mailto="0KwcdIlSBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">grails-de...@googlegropus.com is for discussing framework related issues


Hope it helps.

Best regards / Med venlig hilsen,
Søren Berg Glasius

Hedevej 1, Gl. Rye, 8680 Ry, Denmark
Mobile: +45 40 44 91 88, Skype: sbglasius
--- Press ESC once to quit - twice to save the changes.


On Tue, 11 Dec 2018 at 08:55, 'Karen Goh' via Grails Dev Discuss <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="0KwcdIlSBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">grails-de...@googlegroups.com> wrote:
Hi,

I am new to Grails.  I just picked up a book - Grails 2 - A Quick Start Guide by Dave Klein and Ben Klein.

Right now, I am at the stage to display the <a href="http://localhost:8080/TekDays" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flocalhost%3A8080%2FTekDays\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFeIvhW-wntgjx59CAmVzhWeKBQHw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flocalhost%3A8080%2FTekDays\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFeIvhW-wntgjx59CAmVzhWeKBQHw&#39;;return true;">http://localhost:8080/TekDays at my browser.
Howerver, there is an error message that says Page Not Found, a 404 error with Path/TekDays.

Please see attached.

I do not know how to debug the error.  I simply follows what is said in the book.

Please let me know what does the error mean and how do I go about debugging this error.

Tks.

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="0KwcdIlSBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">grails-dev-discuss+unsubscribe@....
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="0KwcdIlSBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">grails-de...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/grails-dev-discuss/c3c9e3ef-7956-46b9-b011-01a326aed742%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/grails-dev-discuss/c3c9e3ef-7956-46b9-b011-01a326aed742%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/grails-dev-discuss/c3c9e3ef-7956-46b9-b011-01a326aed742%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/grails-dev-discuss/c3c9e3ef-7956-46b9-b011-01a326aed742%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/a5b1106d-1329-4ce9-b407-e5106085485f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Page Not Found

Karen Goh
In reply to this post by Karen Goh
Thanks Daniel & Soren

I am quite disappointed to hear that Grails 2 is outdated cos when I saw the one to many and many to one example, I got so excited cos it is so difficult to do it with pure java and java EE jdbc.

Now, I can't find this book on the book selves(btw, I have just recommended the book to our library but it will take ages for it to arrive or never arrive).

Is there any free tutorial that I can make use of to get some hands-on ?

Tks & regards,
Karen
--------------------------------------------
On Tue, 12/11/18, Daniel Leahy <[hidden email]> wrote:

 Subject: Re: Page Not Found
 To: "Grails Dev Discuss" <[hidden email]>
 Date: Tuesday, December 11, 2018, 9:08 PM
 
 Hi Karen, 
 Soren
 is correct about the context path.
 What is more important is that
 Grails 2 is obsolete and you shouldn't touch it unless
 you have to for work purposes.
 Grails 4 is going to be released
 very soon.
 Grails
 3.3.9 is the latest Grails 
 www.grails.org
 I would highly recommend this
 book 
 https://www.grails3book.com/
 
 and 
 http://guides.grails.org/
 
 is a
 very good resource, along with 
 
 https://start.grails.org/
 
 
 Grails3 is built on top of
 springboot, another java framework.
 and usually lags behind
 it.
 http://spring.io/
 
 
 Regards,           
       Daniel Leahy.
 
 
 
 
 
 
 
 
 
 
 
 
 On
 Tuesday, 11 December 2018 09:09:46 UTC, Søren Berg Glasius
 wrote:Hi Karen,
 If you are trying to run it in
 Grails 3, the default context is http://localhost:8080/ 
 If you want to change the
 default context, add the following to the bottom of your
 grails-app/conf/application. yml:
 ---
 server:
     contextPath:
 /TekDays
 By
 the way, discussion of user-issues should be in https://groups.google.com/
 forum/#!forum/grails, grails-de...@ googlegropus.com is for
 discussing framework related issues
 
 Hope
 it helps.
 Best
 regards / Med venlig hilsen,
 Søren Berg
 Glasius
 
 Hedevej 1, Gl. Rye,
 8680 Ry, Denmark
 Mobile: +45 40 44 91 88,
 Skype: sbglasius
 --- Press ESC once to quit
 - twice to save the
 changes.
 
 On Tue, 11
 Dec 2018 at 08:55, 'Karen Goh' via Grails Dev
 Discuss <grails-de...@
 googlegroups.com> wrote:
 Hi,
 I
 am new to Grails.  I just picked up a book - Grails 2 - A
 Quick Start Guide by Dave Klein and Ben Klein.
 Right now, I am at the stage to
 display the http://localhost:8080/TekDays
 at my browser.Howerver, there is an error message
 that says Page Not Found, a 404 error with
 Path/TekDays.
 Please
 see attached.
 I do not
 know how to debug the error.  I simply follows what is said
 in the book.
 Please
 let me know what does the error mean and how do I go about
 debugging this error.
 Tks.
 
 
 
 
 --
 
 You received this message because you are subscribed to the
 Google Groups "Grails Dev Discuss" group.
 
 To unsubscribe from this group and stop receiving emails
 from it, send an email to grails-dev-discuss+
 [hidden email].
 
 To post to this group, send email to grails-de...@ googlegroups.com.
 
 To view this discussion on the web visit https://groups.google.com/d/
 msgid/grails-dev-discuss/ c3c9e3ef-7956-46b9-b011-
 01a326aed742%40googlegroups. com.
 
 For more options, visit https://groups.google.com/d/
 optout.
 
 
 
 
 
 
 --
 
 You received this message because you are subscribed to the
 Google Groups "Grails Dev Discuss" group.
 
 To unsubscribe from this group and stop receiving emails
 from it, send an email to [hidden email].
 
 To post to this group, send email to [hidden email].
 
 To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/a5b1106d-1329-4ce9-b407-e5106085485f%40googlegroups.com.
 
 For more options, visit https://groups.google.com/d/optout.
 

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/1646111339.2351159.1544540245613%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Page Not Found

sbglasius
Hi Karen,

Most of the material that you find about Grails 2.x can be applied to Grails 3.x - the biggest chagne is the build system and the test-runner. I can also highly recommend the Grails 3 book by Eric Helgeson https://www.grails3book.com/ Also, the Grails slack is an awesome place to get help - in general the Groovy and Grails community is very friendly.

Otherwise, keep asking questions.

Best regards / Med venlig hilsen,
Søren Berg Glasius

Hedevej 1, Gl. Rye, 8680 Ry, Denmark
Mobile: +45 40 44 91 88, Skype: sbglasius
--- Press ESC once to quit - twice to save the changes.


On Tue, 11 Dec 2018 at 15:57, 'Karen Goh' via Grails Dev Discuss <[hidden email]> wrote:
Thanks Daniel & Soren

I am quite disappointed to hear that Grails 2 is outdated cos when I saw the one to many and many to one example, I got so excited cos it is so difficult to do it with pure java and java EE jdbc.

Now, I can't find this book on the book selves(btw, I have just recommended the book to our library but it will take ages for it to arrive or never arrive).

Is there any free tutorial that I can make use of to get some hands-on ?

Tks & regards,
Karen
--------------------------------------------
On Tue, 12/11/18, Daniel Leahy <[hidden email]> wrote:

 Subject: Re: Page Not Found
 To: "Grails Dev Discuss" <[hidden email]>
 Date: Tuesday, December 11, 2018, 9:08 PM

 Hi Karen, 
 Soren
 is correct about the context path.
 What is more important is that
 Grails 2 is obsolete and you shouldn't touch it unless
 you have to for work purposes.
 Grails 4 is going to be released
 very soon.
 Grails
 3.3.9 is the latest Grails 
 www.grails.org
 I would highly recommend this
 book 
 https://www.grails3book.com/

 and 
 http://guides.grails.org/

 is a
 very good resource, along with 

 https://start.grails.org/


 Grails3 is built on top of
 springboot, another java framework.
 and usually lags behind
 it.
 http://spring.io/


 Regards,           
       Daniel Leahy.












 On
 Tuesday, 11 December 2018 09:09:46 UTC, Søren Berg Glasius
 wrote:Hi Karen,
 If you are trying to run it in
 Grails 3, the default context is http://localhost:8080/ 
 If you want to change the
 default context, add the following to the bottom of your
 grails-app/conf/application. yml:
 ---
 server:
     contextPath:
 /TekDays
 By
 the way, discussion of user-issues should be in https://groups.google.com/
 forum/#!forum/grails, grails-de...@ googlegropus.com is for
 discussing framework related issues

 Hope
 it helps.
 Best
 regards / Med venlig hilsen,
 Søren Berg
 Glasius

 Hedevej 1, Gl. Rye,
 8680 Ry, Denmark
 Mobile: +45 40 44 91 88,
 Skype: sbglasius
 --- Press ESC once to quit
 - twice to save the
 changes.

 On Tue, 11
 Dec 2018 at 08:55, 'Karen Goh' via Grails Dev
 Discuss <grails-de...@
 googlegroups.com> wrote:
 Hi,
 I
 am new to Grails.  I just picked up a book - Grails 2 - A
 Quick Start Guide by Dave Klein and Ben Klein.
 Right now, I am at the stage to
 display the http://localhost:8080/TekDays
 at my browser.Howerver, there is an error message
 that says Page Not Found, a 404 error with
 Path/TekDays.
 Please
 see attached.
 I do not
 know how to debug the error.  I simply follows what is said
 in the book.
 Please
 let me know what does the error mean and how do I go about
 debugging this error.
 Tks.




 --

 You received this message because you are subscribed to the
 Google Groups "Grails Dev Discuss" group.

 To unsubscribe from this group and stop receiving emails
 from it, send an email to grails-dev-discuss+
 [hidden email].

 To post to this group, send email to grails-de...@ googlegroups.com.

 To view this discussion on the web visit https://groups.google.com/d/
 msgid/grails-dev-discuss/ c3c9e3ef-7956-46b9-b011-
 01a326aed742%40googlegroups. com.

 For more options, visit https://groups.google.com/d/
 optout.






 --

 You received this message because you are subscribed to the
 Google Groups "Grails Dev Discuss" group.

 To unsubscribe from this group and stop receiving emails
 from it, send an email to [hidden email].

 To post to this group, send email to [hidden email].

 To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/a5b1106d-1329-4ce9-b407-e5106085485f%40googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/1646111339.2351159.1544540245613%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/CAGY%2BWWRw_4visRK3VV4APw9Fk%2B9LqGpC3eqUwh9U5NJCz379tg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Page Not Found

José Vilmar Estácio de Souza
In reply to this post by Karen Goh

I recently migrated a large application from grails 2.3.11 to grails 3.3.8 without many problems.


On 12/11/18 12:57 PM, 'Karen Goh' via Grails Dev Discuss wrote:
Thanks Daniel & Soren

I am quite disappointed to hear that Grails 2 is outdated cos when I saw the one to many and many to one example, I got so excited cos it is so difficult to do it with pure java and java EE jdbc. 

Now, I can't find this book on the book selves(btw, I have just recommended the book to our library but it will take ages for it to arrive or never arrive).

Is there any free tutorial that I can make use of to get some hands-on ?

Tks & regards,
Karen
--------------------------------------------
On Tue, 12/11/18, Daniel Leahy [hidden email] wrote:

 Subject: Re: Page Not Found
 To: "Grails Dev Discuss" [hidden email]
 Date: Tuesday, December 11, 2018, 9:08 PM
 
 Hi Karen, 
 Soren
 is correct about the context path.
 What is more important is that
 Grails 2 is obsolete and you shouldn't touch it unless
 you have to for work purposes.
 Grails 4 is going to be released
 very soon.
 Grails
 3.3.9 is the latest Grails 
 www.grails.org
 I would highly recommend this
 book 
 https://www.grails3book.com/
 
 and 
 http://guides.grails.org/
 
 is a
 very good resource, along with 
 
 https://start.grails.org/
 
 
 Grails3 is built on top of
 springboot, another java framework.
 and usually lags behind
 it.
 http://spring.io/
 
 
 Regards,           
       Daniel Leahy.
 
 
 
 
 
 
 
 
 
 
 
 
 On
 Tuesday, 11 December 2018 09:09:46 UTC, Søren Berg Glasius
 wrote:Hi Karen,
 If you are trying to run it in
 Grails 3, the default context is http://localhost:8080/ 
 If you want to change the
 default context, add the following to the bottom of your
 grails-app/conf/application. yml:
 ---
 server:
     contextPath:
 /TekDays
 By
 the way, discussion of user-issues should be in https://groups.google.com/
 forum/#!forum/grails, grails-de...@ googlegropus.com is for
 discussing framework related issues
 
 Hope
 it helps.
 Best
 regards / Med venlig hilsen,
 Søren Berg
 Glasius
 
 Hedevej 1, Gl. Rye,
 8680 Ry, Denmark
 Mobile: +45 40 44 91 88,
 Skype: sbglasius
 --- Press ESC once to quit
 - twice to save the
 changes.
 
 On Tue, 11
 Dec 2018 at 08:55, 'Karen Goh' via Grails Dev
 Discuss [hidden email] wrote:
 Hi,
 I
 am new to Grails.  I just picked up a book - Grails 2 - A
 Quick Start Guide by Dave Klein and Ben Klein.
 Right now, I am at the stage to
 display the http://localhost:8080/TekDays
 at my browser.Howerver, there is an error message
 that says Page Not Found, a 404 error with
 Path/TekDays.
 Please
 see attached.
 I do not
 know how to debug the error.  I simply follows what is said
 in the book.
 Please
 let me know what does the error mean and how do I go about
 debugging this error.
 Tks.
 
 
 
 
 -- 
 
 You received this message because you are subscribed to the
 Google Groups "Grails Dev Discuss" group.
 
 To unsubscribe from this group and stop receiving emails
 from it, send an email to grails-dev-discuss+
 [hidden email].
 
 To post to this group, send email to grails-de...@ googlegroups.com.
 
 To view this discussion on the web visit https://groups.google.com/d/
 msgid/grails-dev-discuss/ c3c9e3ef-7956-46b9-b011-
 01a326aed742%40googlegroups. com.
 
 For more options, visit https://groups.google.com/d/
 optout.
 
 
 
 
 
 
 -- 
 
 You received this message because you are subscribed to the
 Google Groups "Grails Dev Discuss" group.
 
 To unsubscribe from this group and stop receiving emails
 from it, send an email to [hidden email].
 
 To post to this group, send email to [hidden email].
 
 To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/a5b1106d-1329-4ce9-b407-e5106085485f%40googlegroups.com.
 
 For more options, visit https://groups.google.com/d/optout.
 

--
Assinatura Informal José Vilmar, Telefones: 21 2555-2650 e 21 98868-0859,
        Skype: jvilmar

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/1853caaa-3ddb-e6a4-924c-9afc33322576%40informal.com.br.
For more options, visit https://groups.google.com/d/optout.