Hello everybody,

With great interest I've downloaded Appfuse-2.0 per directions in the
Quickstart Guide with this command:

mvn archetype:create -DarchetypeGroupId=org.appfuse
-DarchetypeArtifactId=appfuse-basic-struts
-DremoteRepositories=http://static.appfuse.org/repository
-DarchetypeVersion=1.0-m2 -DgroupId=com.ilionx -DartifactId=basic-struts

Then I do the mvn-integration, works without a hitch.
Then I generate project with mvn eclipse:eclipse
Then I import the project into c:\Source, no problem.

Now I start in earnest with the tutorial. Creating the person object is no
problem, annotations work fine. 

The mvn compile hibernate3:hbm2ddl builds fine.

Things start to go hairpullingly wrong when I want to do the PersonAction,
TestPersonAction thing.

No matter what I try, I have done the tutorial 3 times now, I keeps failing
the build when I do 

mvn test -Dtest=PersonActionTest

Now I the gazillion lines of output I seemed to have been to hard to note
the reason why it fails. It just fails, it says. Very useful to have
10002938403282 lines of output, but that's another matter. 

So I have to turn to surefire output, I've attached a zip file containing
the XML files, the surefire output and a screen of my project layout. I'm
baffled by the 

Org.Hibernate.Mappingexception: Unknown Entity:
Com.Ilionx.Tutorial.Model.Person message. Googling results in "you don't
have a mapping file" yeah sure, but I thought I was using annotations with
the specific purpose of avoiding XML hell. 
http://www.nabble.com/file/5857/entity-problems.zip entity-problems.zip 

Does anybody understand what's going on. This is, for a starter, very
frustrating. I would like to use this project to build an advanced, big
website.

I'll buy a beer for the first person to come up with a solution (make that
two)

Regards,

Harmen






-- 
View this message in context: 
http://www.nabble.com/Can%27t-get-the-tutorial-working%3A-basic-struts-tf3060094s2369.html#a8508958
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to