You will have to specify that jar and related in the deployment classpath:
|
| <classloader><inject
bean="JBossSXClassLoader"/></classloader>
|
| <bean name="JBossSXClassLoader"
class="org.jboss.system.NoAnnotationURLClassLoader">
| <classloader><null/></classloader>
| <constructor
factoryClass="org.jboss.system.NoAnnotationURLClassLoader"
factoryMethod="createClassLoader">
| <parameter>
| <array elementClass="java.net.URL">
| <!-- Deployers -->
| <value>${jboss.server.lib.url}/jbosssx.jar</value>
| </array>
| </parameter>
| </constructor>
| </bean>
| ...
|
This is a brute force configuration. There should be a way to specify the class loader
system that includes all the server libs as well as just naming the packages you want to
import. We need to get that syntax documented.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142217#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...