上一页 1 ··· 85 86 87 88 89 90 91 92 93 ··· 162 下一页
摘要: 在研究 https://observablehq.com/ 的载入数据的时候,我们会发现如果你数据存在 S3 上使用 CloudFront 作为 CDN 的时候,你会发现数据库载入不进去。 提示错误:data6 = TypeError: Failed to fetch 实际上 F12 后,你会发现错 阅读全文
posted @ 2020-04-21 00:16 huyuchengus 阅读(736) 评论(0) 推荐(0)
摘要: 在很多平常的数据收集和挖掘过程中,我们可能希望将网络上的 JSON 数据库快速获取并且插入到本地数据库中。 通常方法就是将 JSON 数据下载,然后对 JSON 数据库进行处理,然后保存。 Spring 有没有提供什么快速的方法进行处理? 其实 Spring 提供了一个 RestTemplate 可 阅读全文
posted @ 2020-04-17 02:07 huyuchengus 阅读(244) 评论(0) 推荐(0)
摘要: 在 Hibernate 保存数据的时候,提示没有选择数据库。 完整的错误信息为: 09:06:40.277 [http-nio-8080-exec-1] ERROR o.h.id.enhanced.TableStructure - could not read a hi value java.sql 阅读全文
posted @ 2020-04-15 21:21 huyuchengus 阅读(343) 评论(0) 推荐(0)
摘要: Spring @ComponentScan 无参数的组件扫描路径是什么 在 Spring 中,我们使用 @ComponentScan 和 @Configuration 注解来指定希望扫描的 Package。 如果你使用的 @ComponentScan 的话,将会扫描当前文件夹和所有的子文件夹。 ht 阅读全文
posted @ 2020-04-15 04:04 huyuchengus 阅读(239) 评论(0) 推荐(0)
摘要: Spring Batch 在 autowire 的时候提示: Could not autowire. No beans of 'JobBuilderFactory' type found. 这个错误提示其实是在 IntelliJ 中提示的,尽管有这个错误,你的程序还是可以运行没有问题的。 简单来说, 阅读全文
posted @ 2020-04-15 03:21 huyuchengus 阅读(428) 评论(0) 推荐(0)
摘要: @RestController 在 Spring MVC 中就是 @Controller 和 @ResponseBody 注解的集合。 @RestController 注解是从 Spring 4.0 版本开始添加进来的,主要用于更加方便的构建 RESTful Web 服务。 @ResponseBod 阅读全文
posted @ 2020-04-14 21:57 huyuchengus 阅读(170) 评论(0) 推荐(0)
摘要: 具体的提示信息如下: Error:(21, 8) java: cannot access org.springframework.web.WebApplicationInitializer class file for org.springframework.web.WebApplicationIn 阅读全文
posted @ 2020-04-13 23:00 huyuchengus 阅读(1808) 评论(0) 推荐(0)
摘要: 在使用 Archiva 的时候,有时候会提示文件没有找到,或者文件不能下载。 这里需要注意提示的状态。 有时候提示的 404, 有时候提示的 500。 尤其是有时候,你使用 proxy 连接的时候 如果提示的是 404 的话,提示你的 Archiva 在可能的源仓库中已经进行了搜索,但是没有找到。 阅读全文
posted @ 2020-04-13 11:40 huyuchengus 阅读(204) 评论(0) 推荐(0)
摘要: 错误提示如下: A problem occurred configuring root project 'reoc'. > Could not resolve all dependencies for configuration ':classpath'. > Could not determine 阅读全文
posted @ 2020-04-13 11:01 huyuchengus 阅读(378) 评论(0) 推荐(0)
摘要: 在一个 Hibernate 项目中,我们需要同时设置 hbm.xml 和 Annotations 的 mapping 这种情况 hibernate.cfg.xml 如何配置? 其实 hibernate.cfg.xml 中是可以同时设置 hbm.xml 和 Annotations 的。 例如下面的配置 阅读全文
posted @ 2020-04-11 23:10 huyuchengus 阅读(227) 评论(0) 推荐(0)
上一页 1 ··· 85 86 87 88 89 90 91 92 93 ··· 162 下一页