简体   繁体   中英

Best way to share JARS in a eclipse with JBOSS as the App Server

Looking for a solution so that I can have a central location for all my JAR files plus still be able to do a deploy to JBOSS inside Eclipse.

I have a LIB fold out side my projects. I have add the required libs to a given directory using Eclipse build path external jar. But, when I run the application on JBOSS inside Eclipse it does not start. It would seem that JBOSS expects to find the required JAR files under WEB-INF/lib. I have tried other things as well, such as creating a manifest file in the EAR but that did not work.

I looked at the following but it does not address running the application with JBOSS inside Eclipse.

Thanks

What i have done, is put the jar inside the WEB-INF folder under libs. That is where JBoss expects to find all jars required for that project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM