Re: [appfuse-user] amp fails - java.lang.NullPointerException

2007-06-04 Thread sxm
there is only one hibernate.cfg.xml which looks like this Stage.java is in src/main/java/com/dtr/model and compile fine. This file is annotated (that shouldnt be a problem) -sxm mraible wrote: > > I've seen this happen when the mapping in hibernate.cfg.x

Re: [appfuse-user] amp fails - java.lang.NullPointerException

2007-06-04 Thread Matt Raible
I've seen this happen when the mapping in hibernate.cfg.xml is wrong or doesn't exist. Maybe you edited the wrong file? Matt On 6/4/07, sxm <[EMAIL PROTECTED]> wrote: I tried it with Spring Modular project and created a pojo and included it in the hibernate.cfg.xml Now, appfuse:gen finishes si

Re: [appfuse-user] amp fails - java.lang.NullPointerException

2007-06-04 Thread sxm
I tried it with Spring Modular project and created a pojo and included it in the hibernate.cfg.xml Now, appfuse:gen finishes silently but doesn't generate any files in target/appfuse Here is the output of "mvn appfuse:gen -Dentity=Stage" [INFO] [compiler:compile] [INFO] Nothing to compile - all cl

Re: [appfuse-user] amp fails - java.lang.NullPointerException

2007-06-04 Thread Matt Raible
I haven't tested "appfuse:gen" on the appfuse-core archetype. It probably doesn't work because it's looking for a property or something like that. Matt On 6/4/07, Eric Fitzsimmons <[EMAIL PROTECTED]> wrote: Yes, you must create a persistable pojo and include it in the hibernate config file in

Re: [appfuse-user] amp fails - java.lang.NullPointerException

2007-06-03 Thread Eric Fitzsimmons
Yes, you must create a persistable pojo and include it in the hibernate config file in src/main/resources. sxm wrote: just created a core project and compiled it successfully. But when I tried to use mvn appfuse:gen, and got following error. Is there any prerequisite to running this command?

[appfuse-user] amp fails - java.lang.NullPointerException

2007-06-03 Thread sxm
just created a core project and compiled it successfully. But when I tried to use mvn appfuse:gen, and got following error. Is there any prerequisite to running this command? [INFO] Trace java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:396) at java.util.Pr