send whole stacj trace, I think you miss some class in your jar that extend
your class. Include that class also.
On Jan 14, 2008 10:37 AM, Akila Geethal <akilageethal(a)gmail.com> wrote:
java.lang.reflect.InvocationTargetException at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
what can be the reason for thsi error? am i missing some thing in the
jboss server or what can be the error?? I get thsi when i try to import the
classes(facts ) from the uploaded jar??And also where does the jar get saved
when it is uploaded??
On 1/11/08, Rahul Upadhyay <email2upadhyay(a)gmail.com> wrote:
>
> See, BRMS needs only packaging + class file because you are importing
> that one only. Second why do you create jar of whole project. In project,
> There will be project name folder, there will be bin folder.. your import
> statement does not include those. so if you put whole project hierarchy ,
> how will you get the path.. result class not found.. just include package
> folders + class you want .
>
> All the Best
> Rahul Upadhyay
>
>
> On Jan 11, 2008 3:35 PM, Akila Geethal < akilageethal(a)gmail.com> wrote:
>
> > I built the jar for the whole project with eclipse.Should it be built
> > for the package only??
> >
> >
> > On Jan 11, 2008 3:10 PM, Rahul Upadhyay < email2upadhyay(a)gmail.com >
> > wrote:
> >
> > > Don't make jar from class only. use proper package also. i mean
> > > suppose you want to import a.b.c.class then your jar will keep
> > > c.class file in folder b and folder b in a folder.
> > > it works easly.. not big deal.. try
> > >
> > > cheers
> > > Rahul upadhyay
> > >
> > >
> > > On Jan 11, 2008 2:59 PM, Anstis, Michael (M.) < manstis1(a)ford.com>
> > > wrote:
> > >
> > > > Have you tried this walk through?
> > > >
> > > >
http://macjavadev.blogspot.com/2007/11/quickstart-drools-403-web-admin-br...
> > > >
> > > >
> > > > ------------------------------
> > > > *From:* rules-users-bounces(a)lists.jboss.org [mailto:
> > > > rules-users-bounces(a)lists.jboss.org] *On Behalf Of *Akila Geethal
> > > > *Sent:* 11 January 2008 07:24
> > > > *To:* Rules Users List
> > > > *Subject:* Re: [rules-users] Uploading the fact model to the
> > > > DRools BRMS
> > > >
> > > > what are the configurations should be made to import the classes
> > > > in the jar. When trying ti import the classs in the package
configuration
> > > > section im getting the class not found error when i try to validate
the
> > > > imports. What are the files should be modified.Iam new to drools.
> > > >
> > > > On Jan 10, 2008 9:30 PM, Anstis, Michael (M.)
<manstis1(a)ford.com>
> > > > wrote:
> > > >
> > > > > I have a vague recollection that there is another file in
which
> > > > > you need to list your fully qualified class names before they
can be
> > > > > referenced by the BRMS.
> > > > >
> > > > > I think Kris (or Edson) has provided a posting to the group
> > > > > before about this.
> > > > >
> > > > > Flame me if I am wrong.
> > > > >
> > > > > ------------------------------
> > > > > *From:* rules-users-bounces(a)lists.jboss.org [mailto:
> > > > > rules-users-bounces(a)lists.jboss.org] *On Behalf Of *Mark
Proctor
> > > > > *Sent:* 10 January 2008 15:54
> > > > > *To:* Rules Users List
> > > > > *Subject:* Re: [rules-users] Uploading the fact model to the
> > > > > DRools BRMS
> > > > >
> > > > > Akila Geethal wrote:
> > > > >
> > > > > When I upload a jar file to the DRools BRMS it does not get
> > > > > uploaded. When i try to get the clsses by the import statements
it says the
> > > > > class cannot be found. Are there any special way of making the
jar?Should
> > > > > that fact modelapplication include special libraries or etc....
> > > > >
> > > > > No it' just a standard jar, with standard pojos.
> > > > >
> > > > > ------------------------------
> > > > >
> > > > > _______________________________________________
> > > > > rules-users mailing list
> > > > >
rules-users@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > rules-users mailing list
> > > > > rules-users(a)lists.jboss.org
> > > > >
https://lists.jboss.org/mailman/listinfo/rules-users
> > > > >
> > > > >
> > > >
> > > > _______________________________________________
> > > > rules-users mailing list
> > > > rules-users(a)lists.jboss.org
> > > >
https://lists.jboss.org/mailman/listinfo/rules-users
> > > >
> > > >
> > >
> > > _______________________________________________
> > > rules-users mailing list
> > > rules-users(a)lists.jboss.org
> > >
https://lists.jboss.org/mailman/listinfo/rules-users
> > >
> > >
> >
> > _______________________________________________
> > rules-users mailing list
> > rules-users(a)lists.jboss.org
> >
https://lists.jboss.org/mailman/listinfo/rules-users
> >
> >
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users