zoukankan      html  css  js  c++  java
  • 新建maven web 项目后,出现的小问题

    问题一:
    Description Resource Path Location Type
    Cannot change version of project facet Dynamic Web Module to 2.4. wadl line 1 Maven Java EE Configuration Problem

    Description Resource Path Location Type
    Java compiler level does not match the version of the installed Java project facet. wadl Unknown Faceted Project Problem (Java Version Mismatch)

    Description Resource Path Location Type
    JAX-RS (REST Web Services) 2.0 can not be installed : One or more constraints have not been satisfied. wadl line 1 Maven Java EE Configuration Problem

    Description Resource Path Location Type
    JAX-RS (REST Web Services) 2.0 requires Java 1.6 or newer. wadl line 1 Maven Java EE Configuration Problem

    Description Resource Path Location Type
    One or more constraints have not been satisfied. wadl line 1 Maven Java EE Configuration Problem

    解决:升级servlet


    问题二:
    Failed to import bean definitions from URL location [classpath:META-INF/cxf/osgi/cxf-extension-osgi.xml]

    解决:
    <!-- cxf -->
    <dependency>
    <groupId>org.apache.cxf</groupId>
    <artifactId>cxf-rt-frontend-jaxrs</artifactId>
    <version>2.7.6</version>
    </dependency>

    里有 cxf-rt-transports-http-2.7.6.jar 里有

  • 相关阅读:
    poj 3613(经过N条边的最短路)
    poj 3328(多起点多终点的最短路)
    poj 3311(floyd+状态压缩)
    新CCIE笔记-IP网络基础
    新CCIE笔记-IP网络基础
    算法之【冒泡排序法】
    算法之【冒泡排序法】
    算法之【冒泡排序法】
    算法之【辗转相除法】
    算法之【辗转相除法】
  • 原文地址:https://www.cnblogs.com/zno2/p/4747728.html
Copyright © 2011-2022 走看看