How to run wicket-stuff phonebook example?

2009-09-28 Thread Petr Fejfar
Hi all,

few months ago I've run wicket-stuff phonebook examples and it worked.

No I'd like to study it again, hence I downloaded wicket-stuff from the trunk,
run command  mvn clean install  with result BUILD SUCCESSFUL.

But on command mvn jetty:run, I've got exception:

org.springframework.beans.factory.BeanCreationException:
  Error creating bean with name 'dataSource' defined in class path
resource [common.xml]:
  Instantiation of bean failed; nested exception is
java.lang.NoClassDefFoundError:
  org/apache/commons/pool/impl/GenericObjectPool

I'd expect that Maven will download all modules the example
depends on... What shall I do to make the example running on my machine?


Thanks, Petr

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to run wicket-stuff phonebook example?

2009-09-28 Thread Maarten Bosteels
Hi,

Someone changed the version of commons-dbcp from 1.2.2 to 20030825.18442
(revision 4964)
I have reverted that change, and the phonebook seems to work now.

As far as I can see the change was made by Shake234, aka Johannes Schneider.
Johannes, what was the reason to switch to  20030825.18442 ?

Maarten


On Mon, Sep 28, 2009 at 12:54 PM, Petr Fejfar petr.fej...@gmail.com wrote:

 Hi all,

 few months ago I've run wicket-stuff phonebook examples and it worked.

 No I'd like to study it again, hence I downloaded wicket-stuff from the
 trunk,
 run command  mvn clean install  with result BUILD SUCCESSFUL.

 But on command mvn jetty:run, I've got exception:

 org.springframework.beans.factory.BeanCreationException:
  Error creating bean with name 'dataSource' defined in class path
 resource [common.xml]:
  Instantiation of bean failed; nested exception is
 java.lang.NoClassDefFoundError:
  org/apache/commons/pool/impl/GenericObjectPool

 I'd expect that Maven will download all modules the example
 depends on... What shall I do to make the example running on my machine?


 Thanks, Petr

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: How to run wicket-stuff phonebook example?

2009-09-28 Thread Petr Fejfar
On Mon, Sep 28, 2009 at 8:41 PM, Maarten Bosteels
mbosteels@gmail.com wrote:

 Someone changed the version of commons-dbcp from 1.2.2 to 20030825.18442
 (revision 4964)
 I have reverted that change, and the phonebook seems to work now.

Yes, it works now.


Thanks for your help, Petr

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Phonebook example

2008-12-23 Thread Peter Karich
Hi,

I freshly checked out the phonebook example from svn.
But I have 2 problems.
1. I have to add the following dep:
dependency
groupIdorg.springframework/groupId
artifactIdspring/artifactId
version2.0.8/version
/dependency
Otherwise it wouldn't find some ibatis and ContextLoaderListener classes.
(BTW: if I only want hibernate how can I safely remove the ibatis deps?)

2. I cannot find the referenced class 
wicket.contrib.phonebook.web.HibernatePhonebookApplication
in subversion

Any hints?

Regards,
Peter.




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org