今天尝试着测试一下Weblogic 11g的MDB功能,发现尽管引入了weblogic.jar,可是仍然有很多J2EE的Class找不到。我本地没有安装Weblogic,只好一个类库,一个类库的找。后来在网上发现,原来在Weblogic 10以后,应该使用wlfullclient.jar来取代weblogic.jar。可以使用下面的办法生成wlfullclient.jar。
1. Change directories to the server/lib directory.
cd WL_HOME/server/lib
2. Use the following command to create wlfullclient.jar in the server/lib directory:
java -jar wljarbuilder.jar
3. You can now copy and bundle the wlfullclient.jar with client applications.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/51146/viewspace-663826/ ,如需转载,请注明出处,否则将追究法律责任。