On 09/23/10 14:28, Ichiro Furusato wrote:
Hello,
I've been working with Wicket for about a week now and things were
moving along all cruisy until I started adding Hibernate and
Databinder dependencies into my POM. Then all hell broke loose and I
seem to now find myself in the NoClassDefFoundError, then find and
manually install jar cycle. I mean, things with Wicket were just so,
well, SENSIBLE, and now I'm back in nightmare-programming-land again.
This will probably only apply to smaller projects, but I'd like to offer
my experience as an example. I recently made a Wicket app with JPA,
Hibernate, and Jetty not using any dependency manager at all. I
downloaded the Jars from each project's website, put them into lib/, and
made a very small Ant build.xml containing
<path id="compile.classpath">
<pathelement path="${build.home}"/>
<fileset dir="./lib">
<include name="*.jar"/>
</fileset>
<pathelement path="${classpath}"/>
</path>
It worked without problems. Sometimes simple is better. Of course, if
you need a ton of other libraries, it may get too complicated.
-- Thomas
--
-------------------------------------------------------------------
Thomas Kappler [email protected]
Swiss Institute of Bioinformatics Tel: +41 22 379 51 89
CMU, rue Michel Servet 1
1211 Geneve 4
Switzerland http://www.uniprot.org
-------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]