Where to put external libs in Glassfish

前端 未结 2 1605
轮回少年
轮回少年 2021-01-04 19:45

I have created a JSF2 project with Netbeans 7 and successfully deployed it on Glassfish 3.1. The ear file has grown quite big (6.5mb) though, most of it consists of externa

2条回答
  •  北海茫月
    2021-01-04 20:36

    The only directory that is part of the classpath is the domain1\lib\classes directory. Putting your jars there will add them to the classpath.

    You can also put in your ear file under the lib directory (formerly APP-INF\lib). That is the place to put your shared jars.

提交回复
热议问题