我使用Windows7PC作为服务器。代码:publicclassPCSPPServer{//startserverprivatevoidstartServer()throwsIOException{//CreateaUUIDforSPPUUIDuuid=newUUID("1101",true);//CreatetheservicveurlStringconnectionString="btspp://localhost:"+uuid+";name=SampleSPPServer";//openserverurlStreamConnectionNotifierstreamConnNot