>From the JavaDoc from TypeNotFoundException: * Thrown when an application tries to access a type using a string * representing the type's name, but no definition for the type with * the specified name can be found. This exception differs from * {...@link ClassNotFoundException} in that <tt>ClassNotFoundException</tt> is a * checked exception, whereas this exception is unchecked.
Treat it as a ClassNotFoundException. You have missing classes on your classpath. Martijn On Mon, Mar 22, 2010 at 12:29 PM, Svante Reutland <svantepo...@hotmail.com> wrote: > > Hi! > > Im working on a project and I'm getting a weird exception in which I don't > understand how to resolve. My application resides in two modules. > > One server side module where all business logic are. On the server side I > user spring and restful webservices. Than I have a web module which interact > with the server side. The web tier is written in Wicket framework. > > Now to the problem. When I try to access my restful webservices everything > works great until I try to access a webservice that handles more than one > entity. For example trying to access a users roles by entering userID. > > this is the exception being thrown: > Code: > ERROR -Caused by: org.jboss.resteasy.spi.ReaderException: > java.lang.TypeNotPresentException: Type se.**.core.domain.KmsUser not present > at > org.jboss.resteasy.core.messagebody.ReaderUtility.doRead(ReaderUtility.java:123) > at > org.jboss.resteasy.client.core.BaseClientResponse.readFrom(BaseClientResponse.java:246) > at > org.jboss.resteasy.client.core.BaseClientResponse.getEntity(BaseClientResponse.java:210) > at > org.jboss.resteasy.client.core.BaseClientResponse.getEntity(BaseClientResponse.java:171) > at > org.jboss.resteasy.client.core.ClientInvoker.extractEntity(ClientInvoker.java:170) > at > org.jboss.resteasy.client.core.ClientInvoker.invoke(ClientInvoker.java:112) > at > org.jboss.resteasy.client.core.ClientProxy.invoke(ClientProxy.java:59) > at $Proxy353.getRoles(Unknown Source) > at > org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1514) > at org.apache.wicket.markup.html.form.Form.process(Form.java:914) > at > org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:876) > > Anyone have an idea of whats wrong? > appreciate your help. > > Best Regards Svante > Kolla din Hotmail i mobilen! Ta med dig Hotmail i mobilen! > Läs och svara på mejl direkt i mobilen! Klicka här! > _________________________________________________________________ > Mejla på krogen! Hotmail i mobilen. > http://new.windowslivemobile.msn.com/SE-SE/windows-live-hotmail/default.aspx -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org