老师,引入qs之后,一点击登录就报错
老师,这是输入三个坐标点求三角形面积,我看别人编的,这个eval在这里我不太理解,请老师指点一二!
原来是找文件报的一个filenot异常 后来又是这个read异常 在方法声明里直接是IOException 是不是这个io异常直接覆盖了filenotexception了呢
问题一:
虚拟机中启动报错:DiscoveryClient_CLOUD-EUREKA/eureka2:cloud-eureka:8761 - de-registration failedRetry limit reached; giving up on completing the request
问题二:
启动脚本报错:
这用utf-8为什么报错
请问老师,制表符是啥?/////////////
老师我想问下,这个不做事务处理会不会出现异常
请问这个是虚拟机的问题吗,我没有装rabbitmq啊
这怎么解决
老师您好,学到这估计很快就到数据库了。目前这章还没看到具体项目实战,咱们的实战项目就是后面的电商和爬虫吗?因为打算结合本专业的知识做点东西,需要用到一些地理方面的库,比如GeoDjango等,这样的话是把Django学完再弄更合适吗???比较着急,希望能在2020年之前做点东西出来
老师,无法添加依赖dubbo,在本地仓库没有相应的jar包。
[INFO] Scanning for projects... [INFO] [INFO] -------------------< com.wjf:01-dubbo-provider-demo >------------------- [INFO] Building 01-dubbo-provider-demo 0.0.1-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] Downloading from nexus-aliyun: http://maven.aliyun.com/nexus/content/groups/public/com/alibaba/dubbo/2.6.7/dubbo-2.6.7.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.109 s [INFO] Finished at: 2019-11-23T22:16:15+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project 01-dubbo-provider-demo: Could not resolve dependencies for project com.wjf:01-dubbo-provider-demo:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at com.alibaba:dubbo:jar:2.6.7: Failed to read artifact descriptor for com.alibaba:dubbo:jar:2.6.7: Could not transfer artifact com.alibaba:dubbo:pom:2.6.7 from/to nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public): proxy.host.net -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
老师 get_support()的作用是什么呢?
老师这个打不开什么情况?
点击修复没反应。。。。。。
老师 这个n是什么意思呢?
一、代码
class Student(): nums = 0 def __init__(self,name,score): self.name = name self.score = score self.nums +=1 def say_score(self): print(self.name,"的分数是",self.score) @classmethod def test(cls): cls.nums +=1 print(cls.nums) @staticmethod def add(a,b): print("{0}+{1}={2}".format(a,b,(a+b))) return a+b s1 = Student('lmz',100) print(s1.nums) Student.test() Student.add(1,2) s1.add(1,2) s1.test() s2 = Student('lmz',101) print(s2.nums)
二、运行结果
三、问题
1、类方法只属于类对象,实例对象并未保存类方法的代码,为什么s1.test()、s1.add(1,2)也可以运行
非常抱歉给您带来不好的体验!为了更深入的了解您的学习情况以及遇到的问题,您可以直接拨打投诉热线:
我们将在第一时间处理好您的问题!
关于
课程分类
百战程序员微信公众号
百战程序员微信小程序
©2014-2025百战汇智(北京)科技有限公司 All Rights Reserved 北京亦庄经济开发区科创十四街 赛蒂国际工业园网站维护:百战汇智(北京)科技有限公司 京公网安备 11011402011233号 京ICP备18060230号-3 营业执照 经营许可证:京B2-20212637