I got the same exception with JSF 2.0.1. The page showed once but when
I tried to move forward with a button click I got the exception. I
On Nov 1, 2:28 am, Bryan Harper <
brnh...@gmail.com> wrote:
> I have been playing with a fairly simple app locally with not
> problems. In my workspace I'm using google sdk 1.2.6 plugin for
> eclipse, jsf 2.0.
>
> The app has 2 main functions. 1 Persist user object, Delete user
> object. The persist seems to work, but the delete will sometimes
> throws the exception below. I know I didn't provide a lot of info
> about the rest of the app, but I'm really not sure where to start
> since it works fine locally. Thanks in advance for any help.
>
> public void persistUserRecord(User u)throws Exception{
> PersistenceManager pm = PMF.get().getPersistenceManager();
> pm.makePersistentAll(u);
> pm.close();
> }
>
> public void deleteUserRecord(User u)throws Exception{
> PersistenceManager pm = PMF.get().getPersistenceManager();
> pm.deletePersistent(pm.getObjectById(User.class, u.getId()));
> pm.close();
> }
>
> EXCEPTION
> javax.servlet.ServletException: java.lang.RuntimeException:
> java.lang.ClassNotFoundException: void
> at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle
> (AppVersionHandlerMap.java:240)