all i want is a simple hello world kind of example of shiros form based authentication. i tried to execute the sample from shiro but this is what i get
D:\Program Files\Apache Software Foundation\shiro-root-1.2.0\samples\web>mvn clean [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.shiro.samples:samples-web:war:1.2.0 [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.mortbay.jetty:maven-jetty-plugin @ line 47, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Shiro :: Samples :: Web 1.2.0 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ samples-web --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.894s [INFO] Finished at: Wed Feb 01 22:54:37 IST 2012 [INFO] Final Memory: 4M/15M [INFO] ------------------------------------------------------------------------ D:\Program Files\Apache Software Foundation\shiro-root-1.2.0\samples\web>mvn install [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.shiro.samples:samples-web:war:1.2.0 [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.mortbay.jetty:maven-jetty-plugin @ line 47, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Shiro :: Samples :: Web 1.2.0 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- buildnumber-maven-plugin:1.0-beta-4:create (default) @ samples-web --- [INFO] Checking for local modifications: skipped. [INFO] Updating project files from SCM: skipped. [INFO] Executing: cmd.exe /X /C "svn --non-interactive info" [INFO] Working directory: D:\Program Files\Apache Software Foundation\shiro-root-1.2.0\samples\web Provider message: The svn command failed. Command output: svn: E155007: 'D:\Program Files\Apache Software Foundation\shiro-root-1.2.0\samples\web' is not a working copy [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.392s [INFO] Finished at: Wed Feb 01 22:54:52 IST 2012 [INFO] Final Memory: 5M/15M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.0-beta-4:create (default) on project samples-web: Cannot get the revision information from the scm repository : [ERROR] Error! [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException D:\Program Files\Apache Software Foundation\shiro-root-1.2.0\samples\web> -- View this message in context: http://shiro-user.582556.n2.nabble.com/IllegalAccessException-while-executing-simple-web-app-tp7242126p7243691.html Sent from the Shiro User mailing list archive at Nabble.com.
