tags:

views:

243

answers:

0

I have domain model classes with jaxb annotations in a core jar package. Then I have another service web project that has a dependency on the other core jar, and uses jersey. When I move the domain model classes directly in the services project jaxb correctly finds the annotated classes. When I move them back in the jar, its unable to find them. What is the correct way to have jersey or jaxb scan jar's on the classpath to find annotated classes. I have tried com.sun.jersey.config.property.packages .. but this is just for resources, and not annotated jaxb file. thanks.