that is really strange..
i used maven to create my sample Struts2 application.

used mvn-install to place plugin jar to local repo and than used maven to
update my struts2 app dependencies.

Seems like issue in Struts2 sample application build.


On Mon, Oct 7, 2013 at 9:05 PM, Lukasz Lenart <lukaszlen...@apache.org>wrote:

> It works for me ;-) Right now preparing small demo.
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> 2013/10/7 Umesh Awasthi <umeshawas...@gmail.com>:
> > any hint ? :)
> >
> >
> > On Mon, Oct 7, 2013 at 2:19 PM, Umesh Awasthi <umeshawas...@gmail.com
> >wrote:
> >
> >> Hi Lukasz,
> >>
> >> here is the repo link
> >>
> >> https://github.com/umeshawasthi/jsr303-validator-plugin
> >>
> >> Thanks
> >> Umesh
> >>
> >>
> >> On Mon, Oct 7, 2013 at 12:13 PM, Lukasz Lenart <lukaszlen...@apache.org
> >wrote:
> >>
> >>> Yes, please do :-)
> >>>
> >>> 2013/10/7 Umesh Awasthi <umeshawas...@gmail.com>:
> >>> > No, its not in sub-directory
> >>> > I can share gitHub link if want to have look at structure or files?
> >>> >
> >>> >
> >>> > On Mon, Oct 7, 2013 at 12:08 PM, Chris Pratt <
> thechrispr...@gmail.com
> >>> >wrote:
> >>> >
> >>> >> In the top directory (not a sub directory) of the jar file.  It
> should
> >>> NOT
> >>> >> be in a subdirectory like META-INF or WEB-INF.
> >>> >>   (*Chris*)
> >>> >>
> >>> >>
> >>> >> On Sun, Oct 6, 2013 at 11:37 PM, Umesh Awasthi <
> umeshawas...@gmail.com
> >>> >> >wrote:
> >>> >>
> >>> >> > Hi Chris,
> >>> >> >
> >>> >> > Not sure what you mean by root directory?
> >>> >> >
> >>> >> > Hi Lukasz,
> >>> >> >
> >>> >> > I cross checked and struts-plugin.xml is there.
> >>> >> >
> >>> >> >
> >>> >> >
> >>> >> >
> >>> >> > On Mon, Oct 7, 2013 at 12:05 PM, Chris Pratt <
> >>> thechrispr...@gmail.com
> >>> >> > >wrote:
> >>> >> >
> >>> >> > > And in the root directory of the jar file, correct?
> >>> >> > >   (*Chris*)
> >>> >> > >
> >>> >> > >
> >>> >> > > On Sun, Oct 6, 2013 at 11:33 PM, Umesh Awasthi <
> >>> umeshawas...@gmail.com
> >>> >> > > >wrote:
> >>> >> > >
> >>> >> > > > Yes, its there
> >>> >> > > > Still i will cross check it.
> >>> >> > > >
> >>> >> > > > Thanks
> >>> >> > > > Umesh
> >>> >> > > >
> >>> >> > > >
> >>> >> > > > On Mon, Oct 7, 2013 at 11:47 AM, Lukasz Lenart <
> >>> >> > lukaszlen...@apache.org
> >>> >> > > > >wrote:
> >>> >> > > >
> >>> >> > > > > Are you sure that the struts-plugin.xml exists in the jar?
> >>> >> > > > >
> >>> >> > > > >
> >>> >> > > > > Regards
> >>> >> > > > > --
> >>> >> > > > > Łukasz
> >>> >> > > > > + 48 606 323 122 http://www.lenart.org.pl/
> >>> >> > > > >
> >>> >> > > > > 2013/10/7 Umesh Awasthi <umeshawas...@gmail.com>:
> >>> >> > > > > > Hi Lukaz,
> >>> >> > > > > >
> >>> >> > > > > > Its name is struts-plugin.xml, moreover i have used maven
> to
> >>> >> > generate
> >>> >> > > > > > plugin structure for me.
> >>> >> > > > > > Not sure why it is happening like this.
> >>> >> > > > > >
> >>> >> > > > > > I even cross checked it with other plugin provided with
> >>> Struts
> >>> >> > > > > distribution
> >>> >> > > > > > and everything is same not sure why this is happening.
> >>> >> > > > > >
> >>> >> > > > > >
> >>> >> > > > > > On Mon, Oct 7, 2013 at 10:20 AM, Lukasz Lenart <
> >>> >> > > > lukaszlen...@apache.org
> >>> >> > > > > >wrote:
> >>> >> > > > > >
> >>> >> > > > > >> How did you name your xml file? It must be
> >>> struts-plugin.xml and
> >>> >> > > then
> >>> >> > > > > >> framework will automatically load it.
> >>> >> > > > > >>
> >>> >> > > > > >>
> >>> >> > > > > >> Regards
> >>> >> > > > > >> --
> >>> >> > > > > >> Łukasz
> >>> >> > > > > >> + 48 606 323 122 http://www.lenart.org.pl/
> >>> >> > > > > >>
> >>> >> > > > > >> 2013/10/5 Umesh Awasthi <umeshawas...@gmail.com>:
> >>> >> > > > > >> > Hi All,
> >>> >> > > > > >> >
> >>> >> > > > > >> > Facing "Parent package is not defined" exception and
> not
> >>> sure
> >>> >> > > where
> >>> >> > > > > >> things
> >>> >> > > > > >> > are worng.
> >>> >> > > > > >> >
> >>> >> > > > > >> > I have created a new plugin and want to use this plugin
> >>> in my
> >>> >> > > > web-app,
> >>> >> > > > > >> this
> >>> >> > > > > >> > is how i have defined my plugin package
> >>> >> > > > > >> >
> >>> >> > > > > >> > <package name="myPlugin" extends="struts-default">
> >>> >> > > > > >> >
> >>> >> > > > > >> > For testing purpose i created a blank application by
> using
> >>> >> > > > > >> > "struts2-archetype-blank" and this is how i am using
> >>> plugin
> >>> >> > > package
> >>> >> > > > > >> >
> >>> >> > > > > >> >  <package name="example" namespace="/example"
> >>> >> > extends="myPlugin">
> >>> >> > > > > >> >
> >>> >> > > > > >> > but i am getting following exception on server startup
> >>> >> > > > > >> >
> >>> >> > > > > >> > Caused by: Unable to load configuration.
> >>> >> > > > > >> > Caused by: Parent package is not defined: myPlugin -
> >>> [unknown
> >>> >> > > > > location]
> >>> >> > > > > >> >
> >>> >> > > > > >> > It seems that plugin is not getting included.
> >>> >> > > > > >> > Initially i was serving plugin by Maven but in order to
> >>> check
> >>> >> i
> >>> >> > > > placed
> >>> >> > > > > >> jar
> >>> >> > > > > >> > inside lib folder and included it in class-path.
> >>> >> > > > > >> >
> >>> >> > > > > >> > Any idea where or what i am doing wrong ?
> >>> >> > > > > >> >
> >>> >> > > > > >> > --
> >>> >> > > > > >> > With Regards
> >>> >> > > > > >> > Umesh Awasthi
> >>> >> > > > > >> > http://www.travellingrants.com/
> >>> >> > > > > >>
> >>> >> > > > > >>
> >>> >> > >
> >>> ---------------------------------------------------------------------
> >>> >> > > > > >> To unsubscribe, e-mail:
> user-unsubscr...@struts.apache.org
> >>> >> > > > > >> For additional commands, e-mail:
> >>> user-h...@struts.apache.org
> >>> >> > > > > >>
> >>> >> > > > > >>
> >>> >> > > > > >
> >>> >> > > > > >
> >>> >> > > > > > --
> >>> >> > > > > > With Regards
> >>> >> > > > > > Umesh Awasthi
> >>> >> > > > > > http://www.travellingrants.com/
> >>> >> > > > >
> >>> >> > > > >
> >>> >>
> ---------------------------------------------------------------------
> >>> >> > > > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> >>> >> > > > > For additional commands, e-mail:
> user-h...@struts.apache.org
> >>> >> > > > >
> >>> >> > > > >
> >>> >> > > >
> >>> >> > > >
> >>> >> > > > --
> >>> >> > > > With Regards
> >>> >> > > > Umesh Awasthi
> >>> >> > > > http://www.travellingrants.com/
> >>> >> > > >
> >>> >> > >
> >>> >> >
> >>> >> >
> >>> >> >
> >>> >> > --
> >>> >> > With Regards
> >>> >> > Umesh Awasthi
> >>> >> > http://www.travellingrants.com/
> >>> >> >
> >>> >>
> >>> >
> >>> >
> >>> >
> >>> > --
> >>> > With Regards
> >>> > Umesh Awasthi
> >>> > http://www.travellingrants.com/
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> >>> For additional commands, e-mail: user-h...@struts.apache.org
> >>>
> >>>
> >>
> >>
> >> --
> >> With Regards
> >> Umesh Awasthi
> >> http://www.travellingrants.com/
> >>
> >>
> >>
> >
> >
> >
> > --
> > With Regards
> > Umesh Awasthi
> > http://www.travellingrants.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


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

Reply via email to