编译期异常:写代码时候变为红色,可能会产生异常,需要处理才能执行,一般情况下, API 中写了 throws 的 Exception 都不是 RuntimeException 。 第一种方法,把异常抛出去 方法上 throws ,交给虚拟机来处理,当不匹配的时候,虚拟机就会将异常打印出来,终止程序。 ...
分类:
其他好文 时间:
2020-11-27 11:44:01
阅读次数:
8
###链接 贴一下青君大佬的博客~ #include<bits/stdc++.h> #define IL inline #define LL long long #define pb push_back #define pi pair<int,int> #define mk make_pair us ...
分类:
其他好文 时间:
2020-11-27 11:15:36
阅读次数:
6
给定一个只包括 '(',')','{','}','[',']' 的字符串,判断字符串是否有效。 有效字符串需满足: 左括号必须用相同类型的右括号闭合。 左括号必须以正确的顺序闭合。 注意空字符串可被认为是有效字符串。 这个题目蛮有意思的,在做这个题目之前对stack(栈)的使用很少,具有先入后出的特 ...
分类:
其他好文 时间:
2020-11-27 11:08:22
阅读次数:
7
错误详情: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter org.springframework.web.util.Neste ...
分类:
编程语言 时间:
2020-11-26 15:17:54
阅读次数:
13
Programming Concepts Series: The Stack and the Heap Compiled and Interpreted Languages Concurrency Static vs. Dynamic Type Checking Type Introspection ...
分类:
其他好文 时间:
2020-11-26 15:03:39
阅读次数:
6
Programming Concepts Series: The Stack and the Heap Compiled and Interpreted Languages Concurrency Static vs. Dynamic Type Checking Type Introspection ...
分类:
其他好文 时间:
2020-11-26 15:02:41
阅读次数:
5
给大家安利一款 ServiceStack.Redis 的 ASP.NET Core 扩展库,它是基于 ServiceStack.Redis.Core 开发的。 简单易用,开源免费,使用ASP.NET Core自身提供的DI容器来实现针对服务的注册和消费。直接在程序启动时注册到服务中即可完成全部配置, ...
分类:
Web程序 时间:
2020-11-26 14:08:07
阅读次数:
11
package com.atguigu.etl; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.NullWritable; impo ...
分类:
其他好文 时间:
2020-11-25 13:04:03
阅读次数:
26
Fiddler抓取Java应用本地的HTTP请求报文
分类:
编程语言 时间:
2020-11-25 12:59:17
阅读次数:
16
tomcat7 - Changing default welcome-page for spring-boot application deployed as a war - Stack Overflow https://stackoverflow.com/questions/26057995/ch ...
分类:
编程语言 时间:
2020-11-23 11:59:09
阅读次数:
7