Hi Will,

provide some code pls. Is this the full stacktrace?

Do you see the service definition in the startup log, like this?

[INFO] tapestry5.TapestryFilter Startup status:
Services:
             ...
             WebSecurityManager: DEFINED

In addition i had to exclude t5-ioc as the versions did not match:
          <dependency>
          <groupId>org.tynamo</groupId>
          <artifactId>tapestry-security</artifactId>
          <version>0.5.1</version>
          <exclusions>
              <exclusion>
                <groupId>org.apache.tapestry</groupId>
                <artifactId>tapestry-ioc</artifactId>
              </exclusion>
            </exclusions>
        </dependency>


With kind regards
David


Am 09.08.2013 12:07, schrieb Will N.:
> Hi,
> this is what i got when i follow the instructions in the mentioned
> tutorial.
>
> 2013-08-09 11:57:05.504:WARN::failed pms:
> java.lang.IllegalArgumentException: Contribution
> com.example.pms.services.PmsModule.contributeWebSecurityManager(Configuration,
> Session) (at PmsModule.java:193) is for service 'interface
> org.apache.shiro.web.mgt.WebSecurityManager' qualified with marker
> annotations [], which does not exist.
> 2013-08-09 11:57:05.504:WARN::Failed startup of context
> org.mortbay.jetty.webapp.WebAppContext@1b77bbb{/pms,C:\Users\xxx\tapestry\pms\src\main\webapp}
> java.lang.IllegalArgumentException: Contribution
> com.example.pms.services.PmsModule.contributeWebSecurityManager(Configuration,
> Session) (at PmsModule.java:193) is for service 'interface
> org.apache.shiro.web.mgt.WebSecurityManager' qualified with marker
> annotations [], which does not exist.
>     at
> org.apache.tapestry5.ioc.internal.RegistryImpl.validateContributeDefs(RegistryImpl.java:246)
>     at
> org.apache.tapestry5.ioc.internal.RegistryImpl.<init>(RegistryImpl.java:205)
>     at
> org.apache.tapestry5.ioc.RegistryBuilder.build(RegistryBuilder.java:177)
>     at
> org.apache.tapestry5.internal.TapestryAppInitializer.createRegistry(TapestryAppInitializer.java:200)
>     at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:109)
>     at
> org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
>     at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>     at
> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)
>     at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
>     at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
>     at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
>     at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
>     at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>     at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
>     at org.mortbay.jetty.Server.doStart(Server.java:224)
>     at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>     at runjettyrun.Bootstrap.main(Bootstrap.java:97)
> 2013-08-09 11:57:05.534:INFO::Started SelectChannelConnector@0.0.0.0:8080
>
>
>
> Am 07.08.2013 13:20, schrieb D.R.:
>> Hi,
>>
>> i also want to suggest tynamo tapestry-security.
>>
>> As a quickstart is missing, i recommend this post:
>> http://comments.gmane.org/gmane.comp.java.tynamo.user/287
>>
>> With the instructions given there, you can quickly setup
>> tapestry-security and use this as a starting point.
>>
>>
>> With kind regards
>> David
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to