Re: [appfuse-user] UserAction.save cannot see User.getVersion()

2008-03-03 Thread Richard M
Yuri, Thank you. Deleting the org and com packages from src/main/webapp/WEB-INF/classes did the trick. Anyone: Where would be a good place to document this - so it had less chance of biting someone else?? Yuri Weseman wrote: > > Hi Richard, > > Don't know if I can help you, but I had a probl

Re: [appfuse-user] UserAction.save cannot see User.getVersion()

2008-03-03 Thread Yuri Weseman
Hi Richard, Don't know if I can help you, but I had a problem similar to yours. In my case *.class had ended up in my src directory (in src/main/webapp/WEB-INF/classes). I didn't really investigate this further, but assumed it might had to do with mvn war:inplace. After I removed the *.class files

Re: [appfuse-user] UserAction.save cannot see User.getVersion()

2008-03-03 Thread Richard M
OK, I've found a bit more. It looks like a classpath problem. I extracted src/main/java/org/appfuse/webapp/action/UserAction.java and added a few logging statements which moved the original line 161 down a bit. BUT the exception line number and method call is unchanged. I then did a "mvn jetty:ru

Re: [appfuse-user] UserAction.save cannot see User.getVersion()

2008-03-02 Thread Richard M
BTW, I extracted the Appfuse core model classes (using the tutorial) and just modified them, did not change the package names. -- View this message in context: http://www.nabble.com/UserAction.save-cannot-see-User.getVersion%28%29-tp15797151s2369p15797234.html Sent from the AppFuse - User mailin

[appfuse-user] UserAction.save cannot see User.getVersion()

2008-03-02 Thread [EMAIL PROTECTED]
I refactored Appfuse Struts basic so I have a the following BaseObject (contains equals, hashcode and toString) BaseEntity (contains id, version, status(i.e. active/inactive/etc) and AuditInfo fields) inherits from BaseObject My embedded objects just inherit from BaseObject. My entity objects