
error
飞奔的波大爷
本人擅长java开发,目前工作5年,本人Q2118119173.欢迎随时学习交流
展开
-
java compiler level does not match the version of the installed java project facet.
错误信息: java compiler level does not match the version of the installed java project facet. 问题: 编译器版本和Java项目的版本不匹配。原创 2017-06-07 09:01:16 · 298 阅读 · 0 评论 -
解决Maven报Plugin execution not covered by lifecycle configurat
今天加入build> plugins> plugin> groupId>org.springframework.bootgroupId> artifactId>spring-boot-maven-pluginartifactId> plugin>原创 2018-01-30 09:47:44 · 429 阅读 · 0 评论 -
org.springframework.boot:spring-boot-starter-redis:jar is missing
添加SpringBoot支持redis依赖时报错。dependency> groupId>org.springframework.bootgroupId> artifactId>spring-boot-starter-redisartifactId> dependency> 错误信息:解决方法:多加一个data就行。 depen原创 2018-02-05 15:11:44 · 11424 阅读 · 5 评论 -
Index downloads are disabled, search results may be incomplete
Eclipse使用Maven时出现:Index downloads are disabled, search results may be incomplete.问题解决全局设置: 【Windows】->【Preferences】->【Maven】->勾选【Download respository index updates on startup】 完成后重启eclipse,然后等待下原创 2018-01-18 14:16:41 · 466 阅读 · 0 评论 -
Caused by: java.lang.ClassNotFoundException: ch.qos.logback.core.joran.spi.JoranException
问题所在: 缺少一下jar; logback-classic-1.1.3.jar logback-core-1.1.3.jarmaven添加依赖: <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-core</artifactId>原创 2017-12-29 15:52:09 · 10511 阅读 · 0 评论 -
The type org.springframework.context.ConfigurableApplicationContext cannot be resolved.
eclipse导入maven的spring boot项目时,DemoApplication.java出现的错误。解决方法: 1,在命令行中转到项目目录。 确保您的POM.xml与您的命令行在同一个目录中 运行命令 mvn dependency:purge-local-repository 如果您收到构建成功的消息,表示错误已解决。2,删除本地资源库repository / org / spr原创 2017-12-28 17:20:31 · 5359 阅读 · 2 评论 -
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK
错误提示: No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?解决办法: 1、eclipse菜单 - Window - Preferences- Java - Installed JREs 将配置的JRE定位到JDK,例如JRE home:C:\原创 2017-12-28 17:13:37 · 2908 阅读 · 0 评论 -
通俗理解运行时异常和非运行时异常(一般异常)
一,异常的概念Java异常类层次结构图: Throwable: 有两个重要的子类:Exception(异常)和 Error(错误),二者都是 Java 异常处理的重要子类,各自都包含大量子类。Error(错误):是程序无法处理的错误,表示运行应用程序中较严重问题。大多数错误与代码编写者执行的操作无关,而表示代码运行时 JVM(Java 虚拟机)出现的问题。例如,Java虚拟机运行错误原创 2017-06-22 19:42:31 · 47590 阅读 · 8 评论 -
[INS-30131] 执行安装程序验证所需的初始设置失败
工具: winx64_12c_database Win7-x64解决方法:打开计算机管理,服务server确保已经启动 如上图所示,点击共享文件夹,右键点击共享,新建共享。 3.文件夹路径选择C盘,C:\ ,下一步,共享名输入C$,确定即可。 4.最后特别注意:程序以管理员身份运行。原创 2017-06-21 20:21:49 · 823 阅读 · 0 评论 -
已解决org.springframework.web.context.ContextLoaderListener
项目启动是报错:org.springframework.web.context.ContextLoaderListener解决方法:右键单击工程项目 ->点击 properties选择 Deployment Assembly点击 Add -> Java Build Path Entries -> Next选择 Maven Dependencies -> Fin...原创 2018-10-24 17:19:18 · 26367 阅读 · 6 评论