哪个 Weblogic 10.3 JAR 包含 weblogic.rmi.RemoteException
我正在尝试查找包含 weblogic.rmi.RemoteException 的 Weblogic 10.3 JAR,以解决构建路径问题。
提前致谢。
I am trying to track down the Weblogic 10.3 JAR that contains weblogic.rmi.RemoteException in order to solve a build path issue.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我终于在 $BEA-HOME/modules/com.bea.core.weblogic.rmi.client_1.4.0.0.jar 中找到了它
似乎在 10.3 或(10g 作为 Oracle 的品牌)中他们已经移动了很多内容将 $BEA-HOME/wlserver_10.x/server/lib/weblogic.jar 放入 bea 安装根目录中的单独模块目录中。
我还必须在构建路径中包含 $BEA-HOME/modules/com.bea.core.weblogic.workmanager_1.4.0.0.jar 才能使用 com.bea.core.weblogic.rmi.client_1.4.0.0.jar
上面的脚本很有用,一个稍微简单的版本将通过子目录递归搜索它遇到的每个 jar 文件以查找指定的类,该版本是
find -name "*.jar" -exec grep "" {} \;
例如 find -name "*.jar" -exec grep "weblogic/rmi/RemoteException.class" {} \;
我发现了
http:// /snipplr.com/view/12702/find-in-which-jar-a-class-is-define/
I finally found it in $BEA-HOME/modules/com.bea.core.weblogic.rmi.client_1.4.0.0.jar
It seems in 10.3 or (10g as Oracle are branding it) they have moved a lot of what was in $BEA-HOME/wlserver_10.x/server/lib/weblogic.jar into a seperate modules directory in the root of the bea install.
I also had to include $BEA-HOME/modules/com.bea.core.weblogic.workmanager_1.4.0.0.jar on my build path to use com.bea.core.weblogic.rmi.client_1.4.0.0.jar
The script above is useful, a slightly simpler version which will recurse through sub-directories searching each jar file it encounters for a specified class is
find -name "*.jar" -exec grep "" {} \;
e.g. find -name "*.jar" -exec grep "weblogic/rmi/RemoteException.class" {} \;
I found the tip courtesy of
http://snipplr.com/view/12702/find-in-which-jar-a-class-is-defined/
我这里没有安装 WebLogic,但我保留了一个 shell/cygwin 脚本来查找 jar 中的类:
只需将该脚本称为 jarfind.sh 之类的名称并将其放在路径中的某个位置即可。 然后在您的 weblogic 树中添加
jarfind.sh RemoteException
。I don't have WebLogic installed here, but I keep a shell/cygwin script around to find classes in jars:
Just call the script something like jarfind.sh and put it in your path somewhere. Then
jarfind.sh RemoteException
in your weblogic tree.它位于我的 10.0 版本的 server/lib/weblogic.jar 中。
It's in server/lib/weblogic.jar on my version 10.0.
网站 jarhoo 声称拥有所有常见 JAR 文件的可搜索索引 - 但我已经很多年没有使用它了现在您似乎需要登录:
其他答案中给出的脚本显然会给出为您的 CLASSPATH 带来更好的结果:-)
The website jarhoo claims to have searchable indexes of all common JAR files - but I haven't used it in years and you now seem to require a logon:
The scripts given in the other answers will obviously give better results for your CLASSPATH :-)