Heya! Imagine the following structure:
net.danb.example.src SessionBean.java Pojo.java de.dtnet.example Abstract.java SessionBean creates an instance of Pojo (a normal java class) which extends Abstract, also a normal java class. My ant task compiles everything under net.danb.example.src, creates a jar, an ear etc. and deploys it to the server. No compile or deploy error whatsoever here. But if I run a JUnit test on the SessionBean, the instantiation of Pojo fails with an NoClassDefFoundException. I guess that I somehow have to include the package de.dtnet.example in my build and also deploy it to the server? But how is this to be done? Can anyone help me with this please? Do you have some information, link, tutorial, book, ... ? Thank you! -Danny View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885782#3885782 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885782 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
