You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by Selena Lai <ra...@gmail.com> on 2008/05/31 07:34:14 UTC

Re: java.lang.NoClassDefFoundError at Document$Factory.newInstance(Unknown Source)

>
> I generated a client jar using scomp. Then wrote a client to create the
> soap object and make the web service call. The code compiles fine but during
> run time, I got this error. What is the dealio?
>
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
> org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchActio
> n.java:276)
>         at
> org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatch
> Action.java:162)
>         at
> com.wf.bd.ice.struts.BaseLookupDispatchAction.execute(BaseLookupDispa
> tchAction.java:261)
>         at
> org.apache.struts.action.RequestProcessor.processActionPerform(Reques
> tProcessor.java:421)
>         at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
> va:226)
>         at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
> 4)
>         at
> com.wf.bd.ice.struts.ExtendedActionServlet.process(ExtendedActionServ
> let.java:135)
>         at
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
> (ServletStubImpl.java:1006)
>         at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
> pl.java:419)
>         at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
> pl.java:315)
>         at
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
> n.run(WebAppServletContext.java:6718)
>         at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
> dSubject.java:321)
>         at
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
> 121)
>         at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
> rvletContext.java:3764)
>         at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
> pl.java:2644)
>         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
>         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
> Caused by: java.lang.NoClassDefFoundError
>         at
> com.wellsfargo.service.provider.rws.form.createForm.x2007.CreateFormD
> ocument$Factory.newInstance(Unknown Source)
>
> Thanks!
>

Re: java.lang.NoClassDefFoundError at Document$Factory.newInstance(Unknown Source)

Posted by Jacob Danner <ja...@gmail.com>.
Hi Selena,
This is actually more appropriate for the user mailing list so I'm
forwarding it there.

Can you post some of the user code where this is occuring?
Usually a NoClassDefFoundError indicates some kind of configuration
issue in the application. How did you compile the schema types? Is the
resulting schema type jar available on the to struts and the web
application?

-jacobd

On Fri, May 30, 2008 at 10:34 PM, Selena Lai <ra...@gmail.com> wrote:
>> I generated a client jar using scomp. Then wrote a client to create the
>> soap object and make the web service call. The code compiles fine but during
>> run time, I got this error. What is the dealio?
>>
>> java.lang.reflect.InvocationTargetException
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> java:39)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:324)
>>         at
>> org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchActio
>> n.java:276)
>>         at
>> org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatch
>> Action.java:162)
>>         at
>> com.wf.bd.ice.struts.BaseLookupDispatchAction.execute(BaseLookupDispa
>> tchAction.java:261)
>>         at
>> org.apache.struts.action.RequestProcessor.processActionPerform(Reques
>> tProcessor.java:421)
>>         at
>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
>> va:226)
>>         at
>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
>> 4)
>>         at
>> com.wf.bd.ice.struts.ExtendedActionServlet.process(ExtendedActionServ
>> let.java:135)
>>         at
>> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>         at
>> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
>> (ServletStubImpl.java:1006)
>>         at
>> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
>> pl.java:419)
>>         at
>> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
>> pl.java:315)
>>         at
>> weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
>> n.run(WebAppServletContext.java:6718)
>>         at
>> weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
>> dSubject.java:321)
>>         at
>> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
>> 121)
>>         at
>> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
>> rvletContext.java:3764)
>>         at
>> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
>> pl.java:2644)
>>         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
>>         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
>> Caused by: java.lang.NoClassDefFoundError
>>         at
>> com.wellsfargo.service.provider.rws.form.createForm.x2007.CreateFormD
>> ocument$Factory.newInstance(Unknown Source)
>>
>> Thanks!
>
>
>



-- 
I'm competing in a Half-Ironman distance triathlon to raise money for
the fight against cancer!
Please help support my efforts by going to:
http://www.active.com/donate/tntwaak/jacobd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org