The PersonActionTest class seems to be missing from the package?

On 1/23/07, Harmen <[EMAIL PROTECTED]> wrote:


Here's my project

http://www.nabble.com/file/5870/basic-struts-matt.zip
basic-struts-matt.zip



Matt Raible-3 wrote:
>
> Can you send me your project?  I'd like to see if I can reproduce/fix
> the problem locally?
>
> Thanks,
>
> Matt
>
> On 1/23/07, Harmen <[EMAIL PROTECTED]> wrote:
>>
>> Even when adding that, it still bails out with exactly the same error.
If
>> it
>> helps, I'm working on Windows XP. For now I just leave the tests out.
I'd
>> love to do some test driven development, but I'll wait untill you guys
>> come
>> up with the solution.
>>
>>
>> Michael Horwitz wrote:
>> >
>> > You are missing the following from your applicationContext.xml file:
>> >
>> >   <bean class="org.appfuse.dao.spring.HibernateExtensionPostProcessor
">
>> >         <property name="annotatedClasses">               <list>
>> >                 <value>com.ilionx.tutorial.model.Person</value>
>> >        </list>
>> >           </property>       </bean>
>> >
>> > As mentioned by Matt this is currently a bug we are tryin to solve.
>> >
>> > Mike.
>> >
>> > On 1/23/07, Harmen <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> Well, that's why I included the zip file. It contains the
>> >> hibernate.cfg.xml
>> >> and yes it does contain
>> >>
>> >> <mapping class="com.ilionx.tutorial.model.Person"/>
>> >>
>> >> So... that's not the solution I think
>> >>
>> >> Harmen
>> >>
>> >>
>> >> Matt Raible-3 wrote:
>> >> >
>> >> > If Mike's suggestion works, this is a bug that we're hoping to fix
>> in
>> >> > the next couple weeks:
>> >> >
>> >> > http://issues.appfuse.org/browse/APF-571
>> >> >
>> >> > Matt
>> >> >
>> >> > On 1/22/07, Michael Horwitz <[EMAIL PROTECTED]> wrote:
>> >> >> Have you remembered to add your Person class to hibernate.cfg.xml
>> in
>> >> >> src/main/resources?
>> >> >>
>> >> >> Mike
>> >> >>
>> >> >>
>> >> >> On 1/22/07, Harmen < [EMAIL PROTECTED]> wrote:
>> >> >> >
>> >> >> > 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]
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> > http://raibledesigns.com
>> >> >
>> >> >
>> ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >> >
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>>
http://www.nabble.com/Can%27t-get-the-tutorial-working%3A-basic-struts-tf3060094s2369.html#a8517603
>> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >>
>> >>
---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>>
http://www.nabble.com/Can%27t-get-the-tutorial-working%3A-basic-struts-tf3060094s2369.html#a8518002
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> http://raibledesigns.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

--
View this message in context:
http://www.nabble.com/Can%27t-get-the-tutorial-working%3A-basic-struts-tf3060094s2369.html#a8519962
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