maven创建项目报错问题
来源:互联网 发布:lol优化电脑提高fps 编辑:程序博客网 时间:2024/06/07 11:34
报错显示如下:
Description ResourcePath LocationType
The container 'Maven Dependencies' references non existing library 'C:\Users\CCai\.m2\repository\com\github\pagehelper\pagehelper\3.4.2-fix\pagehelper-3.4.2-fix.jar'roseonly-manager-dao Build pathBuild Path ProblemThe container 'Maven Dependencies' references non existing library 'C:\Users\CCai\.m2\repository\com\github\pagehelper\pagehelper\3.4.2-fix\pagehelper-3.4.2-fix.jar'roseonly-manager-service Build pathBuild Path Problem
The container 'Maven Dependencies' references non existing library 'C:\Users\CCai\.m2\repository\com\github\pagehelper\pagehelper\3.4.2-fix\pagehelper-3.4.2-fix.jar'roseonly-manager-web Build pathBuild Path Problem
Build path specifies execution environment JavaSE-1.7. There are no JREs installed in the workspace that are strictly compatible with this environment.roseonly-commonBuild path JRE System Library Problem
Build path specifies execution environment JavaSE-1.7. There are no JREs installed in the workspace that are strictly compatible with this environment.roseonly-manager-pojoBuild path JRE System Library Problem
Description ResourcePath LocationType
The project cannot be built until build path errors are resolvedroseonly-manager-dao UnknownJava Problem
The project cannot be built until build path errors are resolvedroseonly-manager-service UnknownJava Problem
The project cannot be built until build path errors are resolvedroseonly-manager-web UnknownJava Problem
Description ResourcePath LocationType
Missing artifact com.github.pagehelper:pagehelper:jar:3.4.2-fixpom.xml /roseonly-manager-daoline 30 Maven Dependency Problem
Missing artifact com.github.pagehelper:pagehelper:jar:3.4.2-fixpom.xml /roseonly-manager-serviceline 2 Maven Dependency Problem
Missing artifact com.github.pagehelper:pagehelper:jar:3.4.2-fixpom.xml /roseonly-manager-webline 2 Maven Dependency Problem
截图如下:
解决方法:
尽管报这么多的错,归根到底就是jar包的问题,只需要把<pagehelper.version>3.4.2-fix</pagehelper.version>改成<pagehelper.version>3.2.1</pagehelper.version>即可,ctrl+s进行保存,报错信息自会自动消失了。
截图如下:
- 解决maven创建项目报错问题
- myeclipse创建maven项目报错问题
- maven创建项目报错问题
- 创建Maven项目报错
- maven项目创建jsp首页报错问题
- 使用STS创建maven项目,以及创建完成后如何解决项目报错问题
- eclipse创建maven项目报错解决办法
- STS创建Maven项目报错
- 使用Eclipse创建Maven项目报错
- Eclipse创建Maven项目报错
- Intellij idea创建maven项目报错
- eclipse创建maven项目报错
- Cmd命令创建maven项目报错
- 使用Maven创建项目报错
- 创建maven项目工程packaging报错
- eclipse创建maven项目报错
- 【问题及解决】创建Maven webapp项目后JSP 报错
- 关于maven web项目创建后,新建jsp文件报错问题
- Android——Fragment中键盘遮挡问题的解决方案
- springboot prop 优先级
- SpringMVC之HandlerMapping和HandlerAdapter
- 水题笔记:[OpenJudge1811]果断翻车
- CSU: B
- maven创建项目报错问题
- spring Quartz 源码分析--触发器类CronTriggerBean源码剖析
- GIT 学习 day03
- WooCommerce——怎么修改“添加到购物车”按钮的文字和链接
- JavaScript实现的可变动态数字键盘控件三种方式
- 高性能网络编程
- Codeforces
- java基础易错题
- 深入理解 Android 之 View 的绘制流程(一)