![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Exception
胖达不胖
学无止境
展开
-
Intellij idea的web项目找不到类
Intellij idea的普通web项目找不到类java.lang.ClassNotFoundException普通web项目找不到类普通web项目找不到类org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.show_005fstudent_jsp java.lang.ClassNotFoundException: org.apache.jsp.show_005fstudent_js原创 2020-11-27 10:10:31 · 1065 阅读 · 1 评论 -
Maven项目 java:程序包xxx不存在 java:找不到符号
基于Maven创建的项目报错报错信息(让人头大)明明jar包存在还出问题解决方法(一步到胃)再运行项目就可以发现完美运行报错信息(让人头大)明明jar包存在还出问题解决方法(一步到胃)再运行项目就可以发现完美运行...原创 2020-11-27 10:40:17 · 1663 阅读 · 2 评论 -
解决maven项目找不到org.springframework中jar包的报错
maven项目找不到org.springframework的jar包的问题明明能够引用包但就是运行给你报包不存在首先点击file打开setting(这句话意思就是将IDE构建/运行操作委托给Maven)可以看到默认是没选上的,只需要选上再Apply就行了。再次运行可以看到项目是正常运行的了。...原创 2020-11-27 10:57:37 · 19317 阅读 · 5 评论 -
解决java.lang.ClassNotFoundException
原创 2020-12-14 18:30:45 · 10084 阅读 · 2 评论 -
报错File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
在pom.xml文件中加入以下配置 <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties>原创 2020-12-14 18:35:25 · 17062 阅读 · 1 评论 -
Maven控制台输出乱码
-DarchetypeCatalog=internal -Dfile.encoding=GBK原创 2020-12-14 18:39:43 · 182 阅读 · 1 评论 -
maven静态资源过滤问题
<build> <resources> <resource> <directory>src/main/java</directory><!--所在的目录--> <includes><!--包括目录下的.properties , .xml文件都会扫描到--> <includ原创 2020-12-14 20:16:55 · 773 阅读 · 0 评论 -
解决:org.springframework.beans.factory.BeanCreationException: Error creating bean with name
添加依赖 <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> <version>1.9.2</version> </dependency>原创 2020-12-15 12:08:23 · 13897 阅读 · 2 评论 -
解决org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io
原因是资源过滤问题,编写的xml文件没有被打包在pom.xml中加入以下资源过滤<build><resources> <resource> <directory>src/main/java</directory> <filtering>false</filtering> <includes> <include>**原创 2020-12-16 08:11:13 · 10916 阅读 · 1 评论 -
解决:org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions
Mybatis结合Spring报错:org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 6 at org.mybatis.spring.MyBatisExceptionTransla原创 2020-12-18 14:08:38 · 9597 阅读 · 0 评论 -
解决:org.springframework.beans.factory.BeanNotOfRequiredTypeException:
报错信息:org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'xxx' is expected to be of type 'xxx.xxx.xxx.xxxImpl' but was actually of type 'com.sun.proxy.$Proxy9' at org.springframework.beans.factory.support.AbstractBeanFactory.doGe原创 2020-12-18 14:24:11 · 1968 阅读 · 0 评论