Luca Morandini ha scritto:
> As promised, I have made a little sample to show how an UI and a RESTful 
> API could be built using Cocoon.

Nice. I've been trying to follow the instructions and the docs (btw, 
thanks for the detailed docs, I would have been completely lost
without them).

Trying to follow the startup instructions I was greeted by:

Missing:
----------
1) com.mycompany:gslogin:jar:1.0
   Try downloading the file manually from the project website.
   Then, install it using the command:
       mvn install:install-file -DgroupId=com.mycompany 
-DartifactId=gslogin -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
   Alternatively, if you host your own repository you can deploy the 
file there:
       mvn deploy:deploy-file -DgroupId=com.mycompany 
-DartifactId=gslogin -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file 
-Durl=[url] -DrepositoryId=[id]
   Path to dependency:
         1) com.mycompany:myWebapp:war:1.0-SNAPSHOT
         2) com.mycompany:gsmain:jar:1.0
         3) com.mycompany:gslogin:jar:1.0

I then build that jar from the sources and mvn install jetty:run went
fine... but not hitting http://localhost:8888/gsmain. I get redirected 
to 
http://localhost:8888/page/gslogin/index.html;jsessionid=1c3cjcmhr8nbs 
and the following error message appears:

javax.servlet.ServletException: No block for /page/gslogin/index.html
        at 
org.apache.cocoon.servletservice.DispatcherServlet.service(DispatcherServlet.java:84)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367)

And here I'm lost...
Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to