- 博客(16)
- 收藏
- 关注
原创 maxcompute上可以通过insertoverwrite来增加表的分区
简单的记录一下下面是正常的创建分区表,添加分区,插入数据--创建一张分区表sale_detail。create table if not exists sale_detail(shop_name string,customer_id string,total_price double)partitioned by (sale_date string, region string);--给目标表增加分区。alter table sale_detail_inser
2021-01-07 10:29:33 795 1
原创 导入依赖不能生效的问题
最近出现了IDEA项目模块中导入依赖不能生效,就是这个依赖,已经不变红了,还是不能在spring配置文档中使用InternalResourceViewResolve类网上查了各种方法右键pom.xml-->Maven-->Reimport还有页面上右边的Maven-->Reimport All Maven Projects都不行,我的web模块死活不出来spring-webmvc依赖我只能从service模块中导入spring-webmvc依赖,然后在dao模块导入
2020-06-01 12:01:19 770
原创 IDEA突然创建webapp项目一直加载中,
本来就在自学的阶段,自己就乱操作了一下webapp的项目,没想到再创建webapp项目一直在加载中,网上查了一下,在创建webapp项目中然后就是成功!!!name=archetypeCatalog value=internal
2020-05-27 23:22:24 680 1
原创 Error:java: Annotation processing is not supported for module cycles. Please ensure that all module
各个模块的pom.xml文件中的依赖关系没有发现有循环依赖的的问题IDEA菜单栏中打开Analyze->Analyze Module Dependencies...看到有的模块被红色的标出来了。各个模块之间不能重复调用,会造成重复循环。...
2020-05-27 21:58:55 342
原创 org.apache.jasper.servlet.TldScanner.scanJars At least one JAR
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scan
2020-05-27 18:52:40 3122
原创 使用servlet来让jsp弹出alert
response.getWriter().println("<script>alert('此用户您无权限查看')</script>");response.getWriter().println("<script>window.location.href='./index.jsp'</script>");下面的这个页面跳转要搭配使用,使用重定...
2020-04-22 12:55:28 2198
转载 输入标签不可编辑的三种属性
disabled 属性规定应该禁用 input 元素,被禁用的 input 元素,不可编辑,不可复制,不可选择,不能接收焦点,后台也不会接收到传值。设置后文字的颜色会变成灰色。disabled 属性无法与 <input type="hidden"> 一起使用。 示例:<input type="text" disabled="disabled" /> read...
2020-04-06 13:35:51 1001
原创 the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is
org.apache.tomcat.util.http.fileupload.FileUploadBase$InvalidContentTypeException: the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is application/x-www...
2020-04-04 16:29:27 4416 1
原创 将html文件转换为jsp文件注意事项
一>.新建一个Web项目,把准备好的tmp.html粘贴到项目的WebContent文件夹下 二>.用eclipse方式打开tmp.html文件,在文件首行添加代码: <%@ page language="java" contentType="text/html; charset=UTF-8"pageEncoding="UTF...
2020-04-04 15:09:44 581
转载 在eclipse让jQuery自动提示
1,Eclipse安装 spket 插件。(两种方式):在线安装:Help->Install New Software…->Add…->Name: “Spket”, Location: http://www.spket.com/update/ 下载完毕重启 Eclipse 。**手动安装:**到http://www.spket.com/download.html 下载 P...
2020-04-02 22:12:18 615
转载 windowonload三者加载方法的区别
window.onload、$(document).ready(function(){})、$(window).load(function(){})的区别吧!首先比较下window.onload与$(document).ready(function(){})。1.执行时间 window.onload必须等到页面内包括图片的所有元素加载完毕后才能执行。 $(document...
2020-03-18 22:45:03 180
原创 为什么我的deleteservlet为什么执行啊,请大佬帮忙看下,谢谢!
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE configurationPUBLIC "-//mybatis.org//DTD Config 3.0//EN""http://mybatis.org/dtd/mybatis-3-config.dtd"><configuration> <en...
2019-10-22 22:28:03 300
原创 力扣第一题,两数之和
class Solution { public int[] twoSum(int[] nums, int target) { int temp; int arr = new int[2]; for(int i = 0; i < nums.length;i++){ for(int j = i+1;j < n...
2019-03-12 15:33:09 375 1
原创 我的电脑有时候不能解析某些网站CSS和JS,如淘宝
之前一直存在Failed to load resource的报错信息,我一直以为是原始文件不存在,也就没去管他,但今天我在调试百度联盟的代码的时候,发现Chrome下无法显示广告,而我用IE9却能正常显示,查了下页面代码,发现广告的js代码是在的,但为什么不显示呢?然后我网上搜了一下,在stackoverflow上找到了答案,原来是我装了AdBlock插件,这插件的功能是屏蔽广告,挺好用的插件...
2019-02-16 23:09:47 285
原创 Column 'XXX' not found.
我是一枚小白,自学java,如今第一次来发表文章,之前一直在观看各位大神的文章,对我的自学之路有很大帮助,所以我这次决定,我也要写写博客,虽然我的经验不多,但我还是希望能为这个社区做点儿贡献。这次我遇到的问题的来源我说不清是为什么,有可能是我操纵数据库的地方出现问题,我用的Mysql,使用navicat for mysql,使用这个软件能方便的创建表,一开始我创建表完成的样子是这样:从外表上确实能...
2018-05-10 16:04:59 21856
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人