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]


Reply via email to