Hello,

I can't deploy beans (session or entity), I always get following error:

java.lang.ClassNotFoundException: No ClassLoaders found for: at.bean.Person

Here is a sample bean, I don't know what's wrong ...

  | import javax.persistence.Entity;
  | import javax.persistence.Id;
  | 
  | @Entity
  | public class Person {
  |    
  |    private String name;
  |    private String address;
  |    
  |    @Id
  |    public String getAddress() {
  |       return address;
  |    }
  |    
  |    public void setAddress(String address) {
  |       this.address = address;
  |    }
  |    
  |    public String getName() {
  |       return name;
  |    }
  |    
  |    public void setName(String name) {
  |       this.name = name;
  |    }
  | }


I am using JBoss 4.0.3RC1 with the EJB3 extensions.

Thanks for help!

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885766


-------------------------------------------------------
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

Reply via email to