I solved my problem. I created just one jar with a tool called Build Fat Jar.
(It's actually an Eclipse plug-in and it works great.)
FYI for those looking for the same answers as me, here is what I did:
I created a simple local Java project (with Eclipse) that takes an .xlsx
file and reads it into a 2D ArrayList.
(I said "local" because the main app I'm working on will run inside of the
JBoss. (Tomcat really))
This local project had all the dependencies and worked just fine.
Right click on the project and select Build Fat Jar from the menu. (You will
get that menu item when you install the plug-in. Just look for it on the
Internet and read the "How to Install it". It's simple.)
I removed the checkbox next to my local project name on the screen that asks
what do you want to be included in your new jar file. I didn't want my local
project's java files included there.
Give it a name (whatever you want) I called it pio.jar
The tool does its job and creates the jar file in the root of your project. 
I simply copy this jar and paste it into the JBoss lib directory. (
JBoss_Home\server\default\lib)
That's all folks....
Everything now works... 
G'day all,
Greg

 

 

--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/WEB-INF-lib-tp3424392p3424503.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to