17:23:55.993 CjpadSync -> 采集平板智慧课堂数据开始=========时间Mon Jan 14 17:23:55 CST 2019 17:24:22.032 oss -> [Client]Unable to execute HTTP request: UnknownHost 17:24:22.633 oss -> [Client]Unable to execute HTTP request: UnknownHost 17:24:23.834 oss -> [Client]Unable to execute HTTP request: UnknownHost 17:24:26.235 oss -> [Client]Unable to execute HTTP request: UnknownHost 17:24:26.237 ConditionEvaluationReportLoggingListener -> Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 17:24:26.241 SpringApplication -> Application run failed java.lang.IllegalStateException: Failed to execute CommandLineRunner at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:793) at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:774) at org.springframework.boot.SpringApplication.run(SpringApplication.java:335) at com.ecaicn.datasync.CjkjDataSyncApplication.main(CjkjDataSyncApplication.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51) Caused by: com.aliyun.oss.ClientException: UnknownHost at com.aliyun.oss.common.utils.ExceptionFactory.createNetworkException(ExceptionFactory.java:71) at com.aliyun.oss.common.comm.DefaultServiceClient.sendRequestCore(DefaultServiceClient.java:128) at com.aliyun.oss.common.comm.ServiceClient.sendRequestImpl(ServiceClient.java:123) at com.aliyun.oss.common.comm.ServiceClient.sendRequest(ServiceClient.java:68) at com.aliyun.oss.internal.OSSOperation.send(OSSOperation.java:94) at com.aliyun.oss.internal.OSSOperation.doOperation(OSSOperation.java:149) at com.aliyun.oss.internal.OSSOperation.doOperation(OSSOperation.java:113) at com.aliyun.oss.internal.OSSBucketOperation.listObjects(OSSBucketOperation.java:420) at com.aliyun.oss.OSSClient.listObjects(OSSClient.java:526) at com.aliyun.oss.OSSClient.listObjects(OSSClient.java:520) at com.ecaicn.datasync.file.Oss.listObjects(Oss.java:26) at com.ecaicn.datasync.sync.CjpadSync.sync(CjpadSync.java:72) at com.ecaicn.datasync.CjkjDataSyncApplication.start(CjkjDataSyncApplication.java:99) at com.ecaicn.datasync.CjkjDataSyncApplication.initRunner(CjkjDataSyncApplication.java:78) at com.ecaicn.datasync.CjkjDataSyncApplication.run(CjkjDataSyncApplication.java:53) at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:790) ... 11 common frames omitted Caused by: java.net.UnknownHostException: cj-test.oss-cn-shenzhen.aliyuncs.com at java.net.InetAddress.getAllByName0(InetAddress.java:1280) at java.net.InetAddress.getAllByName(InetAddress.java:1192) at java.net.InetAddress.getAllByName(InetAddress.java:1126) at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at com.aliyun.oss.common.comm.DefaultServiceClient.sendRequestCore(DefaultServiceClient.java:125) ... 25 common frames omitted 17:24:26.242 AnnotationConfigApplicationContext -> Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@30e6a763: startup date [Mon Jan 14 17:23:26 CST 2019]; root of context hierarchy 17:24:26.244 AnnotationMBeanExporter -> Unregistering JMX-exposed beans on shutdown 17:24:26.244 AnnotationMBeanExporter -> Unregistering JMX-exposed beans 17:24:26.246 DruidDataSource -> {dataSource-1} closed
1.把宽带连接这个桌面快捷方式拖到启动栏里(按左键不放拖到:开始---程序---启动栏位置后释放即可)即可, 2.点桌面上的网上邻居右键---属性---宽带连接程序(本地连接)---右键---属性---选项---把拨号选项里面(连接时显示进度)\(提示名称.密码和证书证书等)\(包含windows登陆域)这三项前面的钩去掉---确定,大功告成! 这时候你就可以重起电脑网络就会自动连接,以后再也不用开机去点连接上网了
答案来源于网络
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。