I found the source of problem. i explain here, maybe some other netbeans users 
too need this.

i am a netbeans user and open seam projects with netbeans. on my computer are 
jdk 5 and jdk 6 installed.
i run netbeans with jdk 6 because of swing improvements in java 6.

i knew already, that i have to use jdk 5 for seam and jboss.
therefore i set java_home to jdk 5 and tested, while building a seam project, 
but outside of netbeans.

the reason was that the built-in ant uses the jdk of netbeans on which it runs. 
 it has compiled sources with jdk 6.
i couldn't figure out it immediately, because sometimes it deploys 
successfully, but most of the times not.

one should  set explicitly in netbeans jdk to 5 for a seam project, if jboss 
runs on jdk 5.

a question: can't error log show a proper message like: hey, this is compiled 
with jdk 6 and i am not happy with it :)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054954#4054954

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054954
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to