导入 com.apple.com.dnssd 包
我正在尝试编译并运行苹果在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的错误看起来很像此邮件线程中的错误:
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?