[
https://issues.jboss.org/browse/JBIDE-19789?page=com.atlassian.jira.plugi...
]
Rob Stryker commented on JBIDE-19789:
-------------------------------------
Hi Raj:
The root error appears to be:
Caused by: java.lang.ClassNotFoundException: org.springframework.beans.facto
ry.ListableBeanFactory from [Module \"deployment.Test_JB60_Testing.war:ma
in\" from Service Module Loader]"}}
Wildly is trying to load your spring jars as if they were JBoss Module jars. I'm not
sure simply copying jars into a module is enough to make them an actual jboss module
loaded by the application server. I would look at this link:
https://docs.jboss.org/author/display/MODULES/Defining+a+module for more information on
jboss-modules. Did you make sure to provide a descriptor for your spring modules? Did you
also make sure that your war's manifest.mf sets this module as a dependency?
At this point, this is no longer a tooling error. I encourage you to read the above docs
and / or ask on the wildfly forums for the best way to get spring installed into JBoss for
consumption by deployed wars.
User Defined Modules are not loading in Eclipse
------------------------------------------------
Key: JBIDE-19789
URL:
https://issues.jboss.org/browse/JBIDE-19789
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: server
Environment: java 1.8, wildfly 8.1 , Mysql
Reporter: Raj Kumar
Hi , i want to load the Application server Libraries in Java Build Path in eclipse,
i have 5 applications in eclipse which shares common libraries,
i can't put all the libraries in each project lib folder,
so i want to add the libraries in Wildfly Application server using modules.
This is my module.xml file add added the lib at
WILDFLY_HOME/modules/system/layers/base/com/mysql/main/mysql-connector-java-5.1.23-bin.jar
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.1" name="com.mysql">
<resources>
<resource-root path="mysql-connector-java-5.1.23-bin.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
<module name="javax.transaction.api"/>
</dependencies>
</module>
After Restarting the server,this module is not loading in Eclipse Build path.
Can any one knows what wrong with this modules ?
In Wildfly i have some predefined modules, those are loading in build path successfully,
but user-defined modules are not loading ?
why ?
- See more at:
https://developer.jboss.org/thread/257825?sr=inbox#sthash.MWLbzbco.dpuf
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)