导入 com.apple.com.dnssd 包

发布于 2024-07-09 00:10:38 字数 394 浏览 3 评论 0原文

我正在尝试编译并运行苹果在 BonjourSDK 中提供的示例 bonjour 程序: http://developer.apple.com/networking/bonjour/index.html

该程序名为 SimpleChat.java。 但是,每当我尝试编译该程序时,我都会收到此错误: “SimpleChat.java:55:包 com.apple.dnssd 不存在”

我无法确定包含此包的必要文件。 我一定错过了一些简单的东西,但无法弄清楚。 我刚刚安装了 JDK 1.6,但这没有帮助。 谢谢你的时间。

I'm trying to compile and run a sample bonjour program apple provides in the BonjourSDK found here:
http://developer.apple.com/networking/bonjour/index.html

The program is called SimpleChat.java. However, whenever I attempt to compile the program I get this error:
"SimpleChat.java:55: package com.apple.dnssd does not exist"

I can't for the life of me fine the necessary file that contains this package. I must be missing something simple, but can't figure it out. I just installed JDK 1.6, but that's not helping. Thanks for your time.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

请别遗忘我 2024-07-16 00:10:38

您的错误看起来很像此邮件线程中的错误:

http: //lists.apple.com/archives/Bonjour-dev/2006/Jul/msg00046.html

您是否在 Windows 上构建?

Your error looks suspiciously like the one in this mail thread:

http://lists.apple.com/archives/Bonjour-dev/2006/Jul/msg00046.html

Are you building on Windows?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文