引用weblogic10的weblogic.jar

weblogic10及以后的版本,不能直接使用server/lib目录下的weblogic.jar,需要手动生成一个wlfullclient.jar替代weblogic.jar

操作步骤如下:
----------------------

Caused by: java.lang.NoClassDefFoundError: weblogic/utils/classloaders/GenericCl

Creating a wlfullclient.jar File for a Client Application
Use the following steps to create a wlfullclient.jar file for a client application:
Change directories to the server/lib directory.
cd WL_HOME
/server/lib
Use the following command to create wlfullclient.jar in the server/lib directory:
java -jar ../../../modules/com.bea.core.jarbuilder_1.0.0.0.jar
You can now copy and bundle the wlfullclient.jar with client applications.
Add the wlfullclient.jar to the client application's classpath .

注意:
java -jar ../../../modules/com.bea.core.jarbuilder_1.0.0.0.jar
这句命令引用的com.bea.core.jarbuilder_1.0.0.0.jar,实际版本可能不是com.bea.core.jarbuilder_1.0.0.0.jar,请查看bea\modules目录下的实际jar包名称修改该命令
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值