右键项目名称 BuildPath ---> Configure Build Paht...中,然后上面有几个选项卡找到 Libraries中出现红色叉号的包为路径错误的包。
在dns_sd.jar发现为红色感叹号。下载其jar包,地址为:http://www.java2s.com/Code/Jar/d/Downloaddnssdjar.htm
然后添加到jre7目录下即可。如图:
注意:如需改文件名,注意是下划线。
右键项目名称 BuildPath ---> Configure Build Paht...中,然后上面有几个选项卡找到 Libraries中出现红色叉号的包为路径错误的包。
在dns_sd.jar发现为红色感叹号。下载其jar包,地址为:http://www.java2s.com/Code/Jar/d/Downloaddnssdjar.htm
然后添加到jre7目录下即可。如图:
注意:如需改文件名,注意是下划线。