Playframework 1.3 using Java Eclipse and become this mistake: These routes have been tried, in this order

304 views
Skip to first unread message

P Ma

unread,
Jun 23, 2015, 12:21:05 PM6/23/15
to play-fr...@googlegroups.com
Hello I´m new and i become this mistake

These routes have been tried, in this order :

  1. GET       /@projectdocs/files/{name}                        ProjectDocumentation.file
  2. GET       /@projectdocs/images/{name}                       ProjectDocumentation.image
  3. GET       /@projectdocs/{id}                                ProjectDocumentation.page
  4. GET       /@projectdocs/?                                   ProjectDocumentation.index
  5. GET       /@documentation/{docLang}/cheatsheet/{category}   PlayDocumentation.cheatSheet
  6. GET       /@documentation/cheatsheet/{category}             PlayDocumentation.cheatSheet
  7. GET       /@documentation/modules/{module}/files/{name}     PlayDocumentation.file
  8. GET       /@documentation/modules/{module}/images/{name}    PlayDocumentation.image
  9. GET       /@documentation/{docLang}/modules/{module}/{id}   PlayDocumentation.page
  10. GET       /@documentation/{docLang}/files/{name}            PlayDocumentation.file
  11. GET       /@documentation/{docLang}/images/{name}           PlayDocumentation.image
  12. GET       /@documentation/files/{name}                      PlayDocumentation.file
  13. GET       /@documentation/images/{name}                     PlayDocumentation.image
  14. GET       /@documentation/{docLang}/{id}                    PlayDocumentation.page
  15. GET       /@documentation/home                              PlayDocumentation.index
  16. GET       /@documentation/{id}                              PlayDocumentation.page
  17. GET       /@documentation/?                                 PlayDocumentation.index
  18. GET       /                                                 Application.Startseite
  19. GET       /                                                 Application.Login
  20. GET       /                                                 Application.Eingeloggt
  21. GET       /                                                 Application.Ausgeloggt
  22. GET       /                                                 Application.Toureneintragen
  23. GET       /                                                 Application.Tourenregistrieren
  24. GET       /                                                 Application.Regbest
  25. GET       /                                                 Application.index
  26. GET       /favicon.ico                                      404
  27. GET       /public/                                          staticDir:public
  28. *         /{controller}/{action}                            {controller}.{action}
  29. *         /{documentation}/{images}                         {documentation}.{images}

I#m sorry my english is not so good i hope you can help me


What can i do than i don#t get this mistakes


Thank you


Naftoli Gugenheim

unread,
Jun 23, 2015, 4:38:50 PM6/23/15
to play-fr...@googlegroups.com

What URL are you trying to load?


--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/b79c1d23-cae6-4c2d-978e-bf36c9686ef6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

P Ma

unread,
Jun 23, 2015, 5:28:24 PM6/23/15
to play-fr...@googlegroups.com
The first is http://localhost:9000/

This show be correkt, but if i click on the login link it shows this mistake

P Ma

unread,
Jun 23, 2015, 6:00:32 PM6/23/15
to play-fr...@googlegroups.com
I have forgotten. KI become this mistake too

pictures.khar.gif action not found

Action not found
Action pictures.khar.gif could not be found. Error raised is Controller cont
rollers pictures.khar not found

play.exceptions.ActionNotFoundException: Action Bilder.pictures.khar.gif not found
        at play.mvc.ActionInvoker.getActionMethod(ActionInvoker.java:566)
        at play.mvc.ActionInvoker.resolve(ActionInvoker.java:84)
        at Invocation.HTTP Request(Play!)
Caused by: java.lang.Exception: Controller controllers.pictures.khar not fou
nd
        ... 3 more
23:22:40,183 ERROR ~

@6mhf5fgnj
pictures.kharjpg action not found

Action not found
Action pictures.khar.jpg could not be found. Error raised is Controller co
ntrollerspictures.khar not found

play.exceptions.ActionNotFoundException: Action Bilder.khar.jpg not foun
d
        at play.mvc.ActionInvoker.getActionMethod(ActionInvoker.java:566)
        at play.mvc.ActionInvoker.resolve(ActionInvoker.java:84)
        at Invocation.HTTP Request(Play!)
Caused by: java.lang.Exception: Controller controllers.Bilder.khar not f
ound
        ... 3 more
23:42:21,774 ERROR ~

@6mhf5fgnk
Bilder.khar.jpg action not found

Action not found
Action pictures.khar.jpg could not be found. Error raised is Controller co
ntrollers.pictures.khar not found

play.exceptions.ActionNotFoundException: Action pictures.khar.jpg not foun
d
        at play.mvc.ActionInvoker.getActionMethod(ActionInvoker.java:566)
        at play.mvc.ActionInvoker.resolve(ActionInvoker.java:84)
        at Invocation.HTTP Request(Play!)
Caused by: java.lang.Exception: Controller controllers pictures.khar not f
ound
        ... 3 more
23:42:21,805 ERROR ~

@6mhf5fgnl
pictures.khar.gif action not found

Action not found
Actionpictures.khar.gif could not be found. Error raised is Controller cont
rollers.pictures.khar not found

play.exceptions.ActionNotFoundException: Action pictures.khar.gif not found
        at play.mvc.ActionInvoker.getActionMethod(ActionInvoker.java:566)
        at play.mvc.ActionInvoker.resolve(ActionInvoker.java:84)
        at Invocation.HTTP Request(Play!)
Caused by: java.lang.Exception: Controller controllers.pictures.khar not fou
nd
        ... 3 more
23:42:22,557 ERROR ~

@6mhf5fgnm
Bilder.simpso_003.gif action not found

Action not found
Action pictures.khar.gif could not be found. Error raised is Controller cont
rollers.pictures.khar not found

play.exceptions.ActionNotFoundException: Action pictures.khar.gif not found
        at play.mvc.ActionInvoker.getActionMethod(ActionInvoker.java:566)
        at play.mvc.ActionInvoker.resolve(ActionInvoker.java:84)
        at Invocation.HTTP Request(Play!)
Caused by: java.lang.Exception: Controller controllers.pictures.khar not fou
nd
        ... 3 more
23:42:22,577 ERROR ~

@6mhf5fgnn
pictures.khar.jpg action not found

Action not found
Action pictures.khar.jpg could not be found. Error raised is Controller co
ntrollers.pictures.khar not found

play.exceptions.ActionNotFoundException: Action pictures.khar.jpg not foun
d
        at play.mvc.ActionInvoker.getActionMethod(ActionInvoker.java:566)
        at play.mvc.ActionInvoker.resolve(ActionInvoker.java:84)
        at Invocation.HTTP Request(Play!)
Caused by: java.lang.Exception: Controller controllers.pictures.khar not f
ound
        ... 3 more

Naftoli Gugenheim

unread,
Jun 23, 2015, 8:16:19 PM6/23/15
to play-fr...@googlegroups.com
Is this a new project? Why not use Play 2?


--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.

Igmar Palsenberg

unread,
Jun 24, 2015, 5:06:59 AM6/24/15
to play-fr...@googlegroups.com
 
  1. GET       /                                                 Application.Startseite
  2. GET       /                                                 Application.Login
  3. GET       /                                                 Application.Eingeloggt
  4. GET       /                                                 Application.Ausgeloggt
  5. GET       /                                                 Application.Toureneintragen
  6. GET       /                                                 Application.Tourenregistrieren
  7. GET       /                                                 Application.Regbest
  8. GET       /                                                 Application.index
This really doesn't make sense. Read up on routes and how a request is handled.


Igmar

P Ma

unread,
Jun 24, 2015, 1:53:31 PM6/24/15
to play-fr...@googlegroups.com
Thank you

This are my routes

# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~

# Home page

GET        /                                        Application.Startseite
GET     /                                        Application.Login
GET     /                                        Application.Eingeloggt
GET     /                                        Application.Ausgeloggt
GET     /                                        Application.Toureneintragen
GET     /                                        Application.Tourenregistrieren
GET     /                                        Application.Regbest
GET     /                                       Application.index

# Ignore favicon requests
GET     /favicon.ico                            404

# Map static resources from the /app/public folder to the /public path
GET     /public/                                staticDir:public

# Catch all

*       /{controller}/{action}                  {controller}.{action}

# Catch all

*       /{documentation}/{images}                  {documentation}.{images}

What do I have to change exactly at my routes to make it work or work properly??????????

Igmar Palsenberg

unread,
Jun 25, 2015, 2:37:28 AM6/25/15
to play-fr...@googlegroups.com
 
GET        /                                        Application.Startseite
GET     /                                        Application.Login
GET     /                                        Application.Eingeloggt
GET     /                                        Application.Ausgeloggt
GET     /                                        Application.Toureneintragen
GET     /                                        Application.Tourenregistrieren
GET     /                                        Application.Regbest
GET     /                                       Application.index

Why do all the routes have the same path ? That doesn't make sense : It then just picks the first one.

The error you're getting basically tells you that you tried a HTTP path, but no route with that pas has been found to handle that. Since  the above routes really don't make sense, the issue is somewhere there.


Igmar

Odilio Noronha

unread,
Jun 25, 2015, 8:32:58 AM6/25/15
to play-fr...@googlegroups.com
Try
 # Catch all
*       /{controller}/{action}                  {controller}.{action}


Igmar

--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages