随笔分类 - bug大集合
记录日常编码遇到的bug
摘要:Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.apache.i
阅读全文
摘要:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.southwind.mmall002.service.Impl.ProductCategorySe
阅读全文
摘要:Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2021-10-16 18:59:03.083 ERROR 55024 [
阅读全文
摘要:from pyecharts import options as opts
阅读全文
摘要:import urllib str='伤害' print(urllib.parse.quote(str)) 报错AttributeError: module 'urllib' has no attribute 'parse',改为如下代码即可 import urllib.parse str='伤害'
阅读全文
摘要:今天在用pandas库读取csv文件中出现了以下错误! data=pd.read_csv('spider_result.csv') 以前用这个方法读取csv文件很少出现报错,这短短一行代码为什么会报错呢?原来是因为这个csv文件中含有中文,且编码方式选择错误,在这里我用notepad++打开这个cs
阅读全文
摘要:提示TypeError: 'WebElement' object is not iterable(webelment对象并不是可迭代的) 此时我们做以下改动便可解决问题 lis=driver.find_element_by_class_name('item') #查找的是第一个类名为item的元素将
阅读全文
摘要:笔者在爬取网页时遇到了selenium.common.exceptions.NoSuchElementException: Message: no such element的错误,提出以下解决方法 这里其实是由两个类(class)组成的div,而在find_element_by_class_name
阅读全文

浙公网安备 33010602011771号