Sorry, found my problem.

My problems was using the wrong annotation. At first, I was compiling against 
jboss-ext3-ext-api.jar and using the org.jboss.ejb3.annotation.ResourceAdapter 
annotation.

Eventually figured out that I needed the 
org.jboss.annotation.ejb.ResourceAdapter annotation, which I got from the 
jboss-annotations-ejb3.jar. If anyone's interested in the Maven 2 config for 
this, you'll need to add:
    <dependency>
  |       <groupId>jboss</groupId>
  |       <artifactId>jboss-annotations-ejb3</artifactId>
  |       <version>4.2.2.GA</version>
  |       <scope>compile</scope>
  |     </dependency>
  | and    <repository>
  |       <id>jboss</id>
  |       <url>http://repository.jboss.org/maven2/</url>
  |     </repository>to your pom.xml.

Worked like a charm after that! :)

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

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

Reply via email to