
java
陌_上_花_开
不是在DEBUG就是在DEBUG的路上!!!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
重装系统后刚安装的IDEA点击无反应,任务管理器也没进程也不报错。
解决办法:1、在你的安装目录找到下图文件用记事本打开2、查看你的破解文件指导目录是否正确3、试一下点击IDEA图标运行程序看能否打开,如果不行在👉点击这个👈网站下载对应C++库运行安装。4、enjoy!...原创 2022-02-23 21:02:22 · 1250 阅读 · 1 评论 -
运行java程序报错class not found
在eclipse的web工程中,导入jar包后,引用方法没任何问题,然而到运行的时候报错class not found。problems窗口提示一个警告:Classpath entry *.jar will not be exported or published. Runtime ClassNotFoundExceptions may result.原因:没有正确把jar放到正确位置解决办法:把jar包 放在WEB-INF下的lib文件夹下,然后右键选中Build Path 再点击Add to原创 2021-01-28 22:38:10 · 1585 阅读 · 0 评论 -
maven mvn site 命令报错
在工程的pom.xml 下添加如下插件命令<build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-pl...原创 2020-11-04 21:42:15 · 395 阅读 · 0 评论 -
Using ‘UTF-8‘ encoding to copy filtered resources. skip non existing resourceDirectory
maven buid 工程时报如下错误:[INFO] Using 'UTF-8' encoding to copy filtered resources.[INFO] skip non existing resourceDirectory E:\workspace\workspace190401EE\Hello\src\main\resources原因:路径名称写错了解决办法:仔细检查路径和路径名称是否按要求写的。...原创 2020-10-30 23:10:17 · 4182 阅读 · 0 评论 -
eclipse 新建web工程 启动tomcat后无法访问到index页面问题
因为没有把项目配置到服务器上原创 2020-07-08 22:04:01 · 1339 阅读 · 0 评论 -
异常:nested exception is java.sql.SQLException: Column count doesn‘t match value count at row 1
错误信息:org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [insert into emp values(null,'张三',24,'男')]; nested exception is java.sql.SQLException: Column count doesn't match value count at row 1原因:数据库表的字段名数量和你插入数据的成员信息字段数量不匹配原创 2020-07-06 09:22:23 · 5096 阅读 · 0 评论 -
java异常:前言中不允许有内容。
报错:org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1 in XML document from class path resource [db.properties] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; 前言中不允许有内容。原因:低级错误!使用时原创 2020-07-05 22:08:07 · 11336 阅读 · 1 评论 -
java运行报错:java.lang.Exception: No tests found matching....from org.junit.internal.requests.ClassReque
java.lang.Exception: No tests found matching [{ExactMatcher:fDisplayName=testCRUD],{ExactMatcher:fDisplayName=testCRUD(com.atguigu.test.TestSQL)], {LeadingIdentifierMatcher:fClassName=com.atguigu.test.TestSQL,fLeadingIdentifier=testCRUD]] from org.junit.in原创 2020-06-26 21:28:28 · 664 阅读 · 1 评论 -
eclipse运行web工程时报错
错误信息:Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other proc原创 2020-05-31 19:44:04 · 277 阅读 · 0 评论 -
给数据库添加日期类型的数据报错
报错信息:The method setDate(int, java.sql.Date) in the type PreparedStatement is not applicable for the arguments (int, java.util.Date)分析原因:数据库中的Date和java中的Date不兼容解决办法:类型强转一下...原创 2020-04-21 23:10:59 · 1150 阅读 · 2 评论 -
关于:java.sql.SQLException: Too many parameters: expected 0, was given 6 Query
原因是我在写一个向数据库添加成员的接口实现类方法的时候忘记写:values(?,?,?,?,?,?)原创 2020-03-29 21:51:31 · 2261 阅读 · 1 评论 -
启动 tomcat服务器报:The JRE_HOME environment variable is not defined correctly This environment
可以在你点击startup.bat的文件路径上方输入CMD,然后输入startup。如果显示你的JRE_HOME文件路径不对解决方法:添加你的JDK中的jre文件目录到环境变量中添加后再此点击startup.bat或者在命令行中执行startup显示如下就表示可以了...原创 2020-03-09 20:47:20 · 710 阅读 · 1 评论 -
java 模块引用运行报Error:Kotlin
具体信息: Error:Kotlin: The Kotlin standard library is not found in the module graph. Please ensure you have the 'requires kotlin.stdlib' clause in your module definition解决方法:Build Rebuild Proje...原创 2020-02-27 17:59:55 · 4106 阅读 · 1 评论 -
单元测试:java.lang.Exception: Method bufferedStream should have no parameters
单元测试遇见错误信息:java.lang.Exception: Method bufferedStream should have no parameters其实是因为你的其他方法在调用你的xxx方法,而你的xxx上的@Test 的原因引起,删除即可。java.lang.Exception: Method xxx should have no parameters...原创 2020-02-15 21:12:51 · 677 阅读 · 0 评论 -
IDEA 运行单元测试所遇到的问题及解决方法
输入@Test后显示还需要导入JUNIT到类环境变量里。我们点击Add “JUnit4"to classpath然后到下一步勾选Download to选到你idea的安装目录下的lib文件夹点击OK然后测试...原创 2020-01-31 13:15:24 · 3303 阅读 · 0 评论