I have got root cause of my issue. I was not checking it thoroughly and
thinking that my plugin is not being loaded properly.

Not sure about root cause yet. I have declared plugin dependency in my
Struts2 sample application's pom.xml as

<dependency>
       <groupId>bean-validator-plugin</groupId>
        <artifactId>bean-validator</artifactId>
        <version>1.0-SNAPSHOT</version>
  </dependency>

but some how this is not being included in my Application, i used Eclipse
export to export war file in standalone tomcat server and on cross checking
lib folder,my plugin jar file was not there.

Thanks
Umesh


On Mon, Oct 7, 2013 at 10:28 PM, Dave Newton <davelnew...@gmail.com> wrote:

> On Mon, Oct 7, 2013 at 12:53 PM, Umesh Awasthi <umeshawas...@gmail.com
> >wrote:
>
> > Not sure why its showing this structure, i tried git for first time so
> > might be i have done some wrong steps.
> >
>
> No, it's fine; that's part of the github directory structure.
>
>
> > On Mon, Oct 7, 2013 at 10:06 PM, Martin Gainty <mgai...@hotmail.com>
> > wrote:
> >
> > > struts-plugin.xml should be always be located in
> > >
> > >
> > >
> >
> https://github.com/umeshawasthi/jsr303-validator-plugin/src/main/resources/struts-plugin.xml
>
>
> It is.
>
> Dave
>



-- 
With Regards
Umesh Awasthi
http://www.travellingrants.com/

Reply via email to