1
.ear中的我的ABC.jar想要訪問.ear的lib目錄中的XYZ.jar。 我應該更喜歡什麼,將它設置爲類路徑或依賴關係。無論你的建議是什麼,請讓我知道如何去做。我應該更喜歡什麼,將它設置爲類路徑或依賴關係
Here is the structure of the .ear:
ABC.jar - contains EJB.
XYZ.jar - also contains EJBs
.ear
|____ ABC.jar
|
|____ ABCClient.jar
|
|____ web.war
|
|____ /lib
|
| ____ XYZ.jar
|
不,我不想打擾這個結構。我確信有這樣一種方式可以處理這種結構。 – atko