Andrea Aime wrote: > > 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
Hmmm... I should have tried with a "clean" machine before advertising this sample: gslogin was missing from the Maven repo (now I've added it, so it should work). My bad :( > 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... May you try repeating the install procedure as outlined in the docs ? Now that the gslogin is in the repo it should work. Regards, -------------------- Luca Morandini www.lucamorandini.it -------------------- ------------------------------------------------------------------------- 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
