首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

摘引weblogic10的weblogic.jar

2012-09-05 
引用weblogic10的weblogic.jarweblogic10及以后的版本,不能直接使用server/lib目录下的weblogic.jar,需要

引用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包名称修改该命令
  

热点排行