I have an issue with Spring deployer and it is not able to find the classes which are in the library folder.
I have the following structure.
APP-INF/lib/ jar files
When I deploy the MyApp.spring to JBoss, I see that the file jboss-spring.xml is read by JBoss.
14:00:39,099 INFO [NamedXmlBeanDefinitionReader] Loading XML bean definitions from URL [vfszip:/C:/usr/local/jboss/server/default/deploy/MyApp.spring/META-INF/jboss-spring.xml]
After this, what I see is:
14:00:39,161 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/C:/usr/local/jboss/server/default/deploy/MyApp.spring/ state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error deploying: vfszip:/C:/usr/local/jboss/server/default/deploy/MyApp.spring/
Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [org.apache.activemq.pool.PooledConnectionFactory] not found
nested exception is java.lang.ClassNotFoundException: org.apache.activemq.pool.PooledConnectionFactory
And org.apache.activemq.pool.PooledConnectionFactory is under APP-INF/lib/ in activemq-pool-5.2.0.jar
Why it fails to detect the jar file under the APP-INF/lib folder?