Re: Parent package is not defined

2013-10-08 Thread Umesh Awasthi
Thanks for suggestion They were same as suggested by you. I messed up with them lately :) Will correct them. On Tue, Oct 8, 2013 at 12:25 PM, Lukasz Lenart wrote: > 2013/10/8 Umesh Awasthi : > > Hi Lukasz, > > > > thanks for demo application. > > I am working on it and hope to complete it soon

Re: Parent package is not defined

2013-10-07 Thread Lukasz Lenart
2013/10/8 Umesh Awasthi : > Hi Lukasz, > > thanks for demo application. > I am working on it and hope to complete it soon. > > Thanks for the correction as i have not tested it yet (My plugin code ;)) You're welcome :-) And I suggest changing groupId and artifcatId, e.g. org.apache.struts struts

Re: Parent package is not defined

2013-10-07 Thread Umesh Awasthi
Hi Lukasz, thanks for demo application. I am working on it and hope to complete it soon. Thanks for the correction as i have not tested it yet (My plugin code ;)) Thanks Umesh On Tue, Oct 8, 2013 at 11:42 AM, Lukasz Lenart wrote: > My demo app > > https://github.com/lukaszlenart/struts2-js

Re: Parent package is not defined

2013-10-07 Thread Lukasz Lenart
My demo app https://github.com/lukaszlenart/struts2-jsr303-example Anyway, first the plugin must be fully operational, right now it performs validation but it lacks of validation messages ;-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/10/8 Lukasz Lenart : > After instal

Re: Parent package is not defined

2013-10-07 Thread Lukasz Lenart
After installing the plugin locally (mvn clean source:jar install) I have added it as follow: struts2-jsr303-validator-plugin jsr303-validator 1.0-SNAPSHOT org.hibernate hibernate-validator 4.3.1.Fi

Re: Parent package is not defined

2013-10-07 Thread Umesh Awasthi
Thanks Everyone, issue was with my Eclipse as it was not updating project dependencies. On Mon, Oct 7, 2013 at 10:50 PM, Umesh Awasthi wrote: > 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

Re: Parent package is not defined

2013-10-07 Thread Umesh Awasthi
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 bean-validator-plugin bean-validator

Re: Parent package is not defined

2013-10-07 Thread Dave Newton
On Mon, Oct 7, 2013 at 12:53 PM, Umesh Awasthi 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 > wrote: > >

Re: Parent package is not defined

2013-10-07 Thread Umesh Awasthi
; > > > > > From: lukaszlen...@apache.org > > Date: Mon, 7 Oct 2013 17:35:07 +0200 > > Subject: Re: Parent package is not defined > > To: user@struts.apache.org > > > > It works for me ;-) Right now preparing small demo. > > > > > > Regard

RE: Parent package is not defined

2013-10-07 Thread Martin Gainty
be located in https://github.com/umeshawasthi/jsr303-validator-plugin/src/main/resources/struts-plugin.xml unlink src ..should do it.. Martin __ > From: lukaszlen...@apache.org > Date: Mon, 7 Oct 2013 17:35:07 +0200 > Subject: Re: Paren

Re: Parent package is not defined

2013-10-07 Thread Umesh Awasthi
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 wrote:

Re: Parent package is not defined

2013-10-07 Thread Lukasz Lenart
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 : > any hint ? :) > > > On Mon, Oct 7, 2013 at 2:19 PM, Umesh Awasthi wrote: > >> Hi Lukasz, >> >> here is the repo link >> >> https://github.com/umeshawasthi

Re: Parent package is not defined

2013-10-07 Thread Umesh Awasthi
any hint ? :) On Mon, Oct 7, 2013 at 2:19 PM, Umesh Awasthi 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 wrote: > >> Yes, please do :-) >> >> 2013/10/7 Umesh Awast

Re: Parent package is not defined

2013-10-07 Thread Umesh Awasthi
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 wrote: > Yes, please do :-) > > 2013/10/7 Umesh Awasthi : > > No, its not in sub-directory > > I can share gitHub link if want to have look at s

Re: Parent package is not defined

2013-10-06 Thread Lukasz Lenart
2013/10/7 Umesh Awasthi : > Hi Chris, > > Not sure what you mean by root directory? When you extract the jar file, struts-plugin.xml must be on the top of directory structure, not in some package. -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ -

Re: Parent package is not defined

2013-10-06 Thread Lukasz Lenart
Yes, please do :-) 2013/10/7 Umesh Awasthi : > 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 wrote: > >> In the top directory (not a sub directory) of the jar file. It should NOT >> be in a sub

Re: Parent package is not defined

2013-10-06 Thread Umesh Awasthi
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 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*) > > > O

Re: Parent package is not defined

2013-10-06 Thread Chris Pratt
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 wrote: > Hi Chris, > > Not sure what you mean by root directory? > > Hi Lukasz, > > I cross checked and struts-plug

Re: Parent package is not defined

2013-10-06 Thread Umesh Awasthi
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 wrote: > And in the root directory of the jar file, correct? > (*Chris*) > > > On Sun, Oct 6, 2013 at 11:33 PM, Umesh Awasthi >wrote

Re: Parent package is not defined

2013-10-06 Thread Chris Pratt
And in the root directory of the jar file, correct? (*Chris*) On Sun, Oct 6, 2013 at 11:33 PM, Umesh Awasthi wrote: > Yes, its there > Still i will cross check it. > > Thanks > Umesh > > > On Mon, Oct 7, 2013 at 11:47 AM, Lukasz Lenart >wrote: > > > Are you sure that the struts-plugin.xml exi

Re: Parent package is not defined

2013-10-06 Thread Umesh Awasthi
Yes, its there Still i will cross check it. Thanks Umesh On Mon, Oct 7, 2013 at 11:47 AM, Lukasz Lenart 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 : > > Hi Lukaz, > > >

Re: Parent package is not defined

2013-10-06 Thread Lukasz Lenart
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 : > 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

Re: Parent package is not defined

2013-10-06 Thread Umesh Awasthi
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

Re: Parent package is not defined

2013-10-06 Thread Lukasz Lenart
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 : > Hi All, > > Facing "Parent package is not defined" exception and not sure where things > are worng

Re: Parent package is not defined

2013-10-05 Thread Umesh Awasthi
Any one have any other inputs? There was some differences in the DTD defined under plugin xml file and struts.xml file but even after changing them, i am getting same exception on server startup On Sat, Oct 5, 2013 at 8:41 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > You have w

Re: Parent package is not defined

2013-10-05 Thread Yaragalla Muralidhar
You have written your plugin (your own module) and for that you might have written an xml file which contains definitions of actions and all other things for your module. for example plugin.xml. I believe this statement "" you posted is from that xml file. If you have written your own modules. The

Re: Parent package is not defined

2013-10-05 Thread Umesh Awasthi
what you mean by registered plugin with struts.xml? On Sat, Oct 5, 2013 at 8:31 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > have you registered your "myPlugin" in struts,xml file. > > *Thanks and Regards,* > Muralidhar Yaragalla. > * > * > > > On Sat, Oct 5, 2013 at 8:11 PM, U

Re: Parent package is not defined

2013-10-05 Thread Yaragalla Muralidhar
have you registered your "myPlugin" in struts,xml file. *Thanks and Regards,* Muralidhar Yaragalla. * * On Sat, Oct 5, 2013 at 8:11 PM, Umesh Awasthi wrote: > Hi All, > > Facing "Parent package is not defined" exception and not sure where things > are worng. > > I have created a new plugin and