if you inject tapestry's hibernate jar, you MUST add a hibernate distribution also because tapestry found the tapestry5-hibernate.jar and want to create a hibernate sessionfactory but found no hibernate3.jar in classpath.
if you dont work with hibernate,remove the tapestry5-hibernate.jar from your classpath 2008/6/17 Tommyboy66 <[EMAIL PROTECTED]>: > > Thanks for your reply Kristian, > > the problem is that most of the other components in this aplication works > well with this settings (with the tapestry-hibernate in classpath) but the > dropdown works only without it. I think this is really curious, because the > dependencies (hibernate) should be contained in this jar-file, shouldn't? > Why needs my App dependencies in hibernate if they are in classpath and a > Select component is implemented and there are no problems if there is only > a > Select-component (without the hibernate-jar) or other components (Checkbox, > TextField, DatePicker,...) with the hibernate-jar. It makes me crazy, > because I don't really understand it... :-/ > > Greets, > Tom > > > kristian.marinkovic wrote: > > > > if you look at the stacktrace you can see that your application cannot > > find > > the hibernate dependencies: > > > > Caused by: java.lang.NoClassDefFoundError: > > org/hibernate/cfg/AnnotationConfiguration > > > > check your classpath entries/maven dependencies > > > > g, > > kris > > > > > > > > > > Tommyboy66 <[EMAIL PROTECTED]> > > 13.06.2008 14:03 > > Bitte antworten an > > "Tapestry users" <users@tapestry.apache.org> > > > > > > An > > users@tapestry.apache.org > > Kopie > > > > Thema > > Tapestry 5.0.11 - Selecting elements causes Exception in > > ValueEncoderSource > > > > > > > > > > > > > > > > > > Hello, > > > > i have to upgrade a Tapestry-Project from Vers. 5.0.6 to 5.0.11 and now > > there are several problems with some components. For example, i want to > > select items from a dropdown field. The code in the older > Tapestry-Version > > works fine, but now i get an exception in ValueEncoderSource which i > can't > > realize. The complete Output you can find here: > > http://ubuntuusers.de/paste/278645/ http://ubuntuusers.de/paste/278645/. > > > > The tml and the java-files is imho very simple: > > > > *.tml: > > <select t:type="select" t:model="option" t:id="option" t:value="option"> > > </select> > > *.java: > > @Persist > > private Options option; > > > > @Validate("required") > > public Options getOption() { > > return option; > > } > > > > public void setOption(Options type) > > { > > option = type; } > > > > Options.java: > > > > public enum Options { > > opt1, opt2, opt3 > > } > > > > Can somebody understand the problem and can solve it? > > > > Thanks for your reply, > > Tom > > > > > > > > > > -- > > View this message in context: > > > http://www.nabble.com/Tapestry-5.0.11---Selecting-elements-causes-Exception-in-ValueEncoderSource-tp17821914p17821914.html > > > > Sent from the Tapestry - 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/Tapestry-5.0.11---Selecting-elements-causes-Exception-in-ValueEncoderSource-tp17821914p17879358.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- with regards Sven Homburg http://tapestry5-components.googlecode.com http://chenillekit.googlecode.com