zoukankan      html  css  js  c++  java
  • maven错误总结

    1.  java compiler level does not match the version of the installed java project

      右键项目“Properties”,在弹出的“Properties”窗口左侧,单击“Project Facets”,打开“Project Facets”页面。在页面中的“Java”下拉列表中,选择相应版本就OK了

    2. Build path specifies execution environment JavaSE-1.8. There are no JREs installed in the workspace that are strictly compatible with this environment. 

      看警告的项目路径,选中项目修改

      选择项目点击鼠标右键-->properties-->java buil path-->右栏选择libraries项-->选择JRE system library--> Edit-->选择workspace default JRE-->确认完成。

    3.spring junit测试找不到SpringJUnit4ClassRunner.class

      https://blog.csdn.net/u014172271/article/details/76713798

      在父项目的pom文件中添加依赖

      <dependency> 
                <groupId>org.springframework</groupId>  
                <artifactId>spring-test</artifactId>  
                <version>4.2.4.RELEASE</version>  
           </dependency>

  • 相关阅读:
    LINQ的from子句和foreach语句的区别
    mysql连接错误10061
    iframe嵌套iframe阻塞
    2016-12有感,微信,组建
    js进阶篇学习
    html5的学习
    rocketmq集群(三)
    rocketmq发送普通消息(二)
    rocketmq安装(一)
    kafka stream及interceptor(四)
  • 原文地址:https://www.cnblogs.com/wastedlands/p/8678842.html
Copyright © 2011-2022 走看看