![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
梦世灬繁华
这个作者很懒,什么都没留下…
展开
-
今天 java第一课
初学java原创 2015-11-29 20:38:09 · 313 阅读 · 0 评论 -
InstantiationException: at java.lang.Class.newInstance错误
使用泛型表达该类代码 T m = cls.newInstance();;//此处抛出异常无法用反射创造该类的此对象是T这个类中没有无参的构函数,创建无参的构造即可,可参考http://luan.iteye.com/blog/1813850...转载 2018-05-21 21:08:34 · 1797 阅读 · 0 评论 -
Spring boot + swagger + mybtis + Maven整合
先感谢大佬文章帮我走完最后一步连接如下:https://blog.csdn.net/ZZ2713634772/article/details/79458489#commentBox一,新建项目 1.按正常操作流程,完成创建 二,在pom.xml文件中引入相关依赖 <dependencies> <!--spring boot...原创 2018-11-29 15:50:12 · 386 阅读 · 0 评论 -
tomcat 调优 小结
tomcat 调优https://blog.csdn.net/huiyunfei/article/details/79165120https://www.cnblogs.com/xuwc/p/8523681.html Tomcat 配置需要3个端口地址:配置密码<user username="1" password="1" roles="manager-gui"/&g...原创 2019-02-26 11:11:12 · 213 阅读 · 0 评论 -
出现No enclosing instance of type Exp is accessible. Must qualify the allocation with an enclosing ins
在进行实现接口的时候出现错误:No enclosing instance of type Exp is accessible. Must qualify the allocation with an enclosing instance of type Exp (e.g. x.new A() where x is an instance of Exp).如何处理。汉译:为没有可访问的内部类Exp的...原创 2016-09-22 11:10:41 · 514 阅读 · 0 评论