`
llyzq
  • 浏览: 577768 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

引用weblogic10的weblogic.jar

    博客分类:
  • J2SE
 
阅读更多
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包名称修改该命令
  
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics