`

解决“Dynamic Web Module 3.0 requires Java 1.6 or newer.”错误

    博客分类:
  • java
阅读更多
http://xiaoyaozjl.iteye.com/blog/1530010

在项目的pom.xml的<build></build>标签中加入:

<plugins> 
    <plugin> 
        <groupId>org.apache.maven.plugins</groupId> 
        <artifactId>maven-compiler-plugin</artifactId> 
        <version>2.3.2</version> 
        <configuration> 
            <source>1.6</source> 
            <target>1.6</target> 
        </configuration> 
    </plugin> 
</plugins> 


保存,项目构建完成后在项目文件夹上点右键,选择Maven->Update Project Configuration,问题解决。
分享到:
评论

相关推荐

    httpclient4.5.3 jar完整包含所有依赖包

    Please note that as of 4.4 HttpClient requires Java 1.6 or newer. Changelog: ------------------- * [HTTPCLIENT-1803] Improved handling of malformed paths by URIBuilder. Contributed by Oleg ...

    ant-icontract-1.6.jar.zip

    《Ant Icontract 1.6.jar - Java库的深度解析》 在Java开发领域,库的使用是提高效率和代码质量的重要手段。今天我们要探讨的是一个名为“ant-icontract-1.6.jar”的库,它封装了Ant和Icontract的功能,为开发者...

    apache-jmeter-5.1.1(Requires Java 8+).rar

    在下载并解压"apache-jmeter-5.1.1(Requires Java 8+)"后,你需要确保你的系统已经安装了Java 8或更高的版本。运行JMeter时,只需找到解压后的目录中的`bin`文件夹,双击`jmeter.bat`(Windows)或`jmeter.sh`...

    JavaServer Faces

    總而言之,JavaServer Faces 協助了職責的分別,讓不同屬性的開發人員可以彼此合作,而又互不侵擾,UI元件的開發搭配整合開發環境(IDE)或是所視即可得的網頁編輯程式,讓Web 應用程式的開發得以簡單且迅速,...

    apache-jmeter-5.1.1(Requires Java 8+).zip

    在“apache-jmeter-5.1.1(Requires Java 8+)”这个压缩包中,你将找到JMeter 5.1.1版本的所有文件,包括可执行文件、文档、示例测试计划和必要的库文件。解压后,可以直接运行`bin`目录下的`jmeter.bat`(Windows)...

    java.lang.ClassNotFoundException异常的解决1

    在Java 6、7和8中,Java平台的标准版(Java SE)包含了Java企业版(Java EE)的一些API,如JAXB(Java Architecture for XML Binding)。然而,从Java 9开始,为了实现模块化并提高系统的可维护性和安全性,Java EE...

    This application requires Visual Studio 2013 Redistributable.

    MySql5.7.20安装过程中报错 This application requires Visual Studio 2013 Redistributable. Please install the Redistributable then run this installer again. 的解决办法.报错如下: 1: Action 10:59:21: ...

    v7包解决importandroid.support.annotation.RequiresApi

    例如,如果你使用了一个在API级别24引入的新特性,你可以使用`@RequiresApi(24)`来确保这段代码在API级别24以下的设备上不会执行,从而避免运行时错误。 Android Support Library,尤其是`v7`包,是为了解决Android...

    Python库 | pyglet-2.0.dev6-py3-none-any.whl

    **Python库pyglet介绍** pyglet是一个用于创建跨平台多媒体应用的开源Python库,主要专注于游戏开发、图形绘制和动画制作。它提供了一套高级API,使得开发者可以轻松地处理窗口管理、图像加载、音频播放以及用户...

    clusterlib-3.0.12.1-84.el6.x86_64.rpm

    clusterlib-3.0.12.1-84.el6.x86_64.rpm clusterlib-3.0.12.1-84.el6.x86_64.rpm

    requires 'org.eclipse.emf.transaction 1.4.0' but it could not be found 问题处理

    eclipse安装Activiti Designer 5.14.1插件失败后,把这上述压缩包中的jar文件拷贝到自己的eclipse的plugin文件夹下面,重启eclipse再次安装activiti插件就可以了。

    openssl-1.1.1

    该文件我是用来解决使用Python时出现“pip is configured wih locations that require TLS/SSL,however the ssl module in Python is not available."报错的,现在分享一下。

    SAP J IDOC3

    The SAP Java IDoc Class Library 3.0 Standalone requires a Java Development Kit (JDK) or a Java Runtime Environment (JRE) version 1.5, 1.6 or 1.7.

    HTTPRequest 源码

    HTTRequest requires C++17 or newer. HTTPRequest is a single-header C++ library for making HTTP requests. You can just include it in your project and use it. HTTPRequest was tested on macOS, Windows, ...

    HTTPRequest源码

    HTTRequest requires C++17 or newer. HTTPRequest is a single-header C++ library for making HTTP requests. You can just include it in your project and use it. HTTPRequest was tested on macOS, Windows, ...

    eclipse安装activiti报错(requires 'org.eclipse.emf 2.6.0' but it could not be found)

    具体报错如下: Cannot complete the install because one or more required items could not be found. Software being installed: Activiti Eclipse BPMN 2.0 Designer 5.18.0.201508100929 (org.activiti....

    ejb3.0_培训笔记(达内).

    EJB 3.0还支持多种企业服务,如JTA(Java Transaction API)用于事务管理,JMS(Java Message Service)用于消息传递,JPA(Java Persistence API)用于数据持久化,JAX-RS(Java API for RESTful Web Services)...

    adb错误解决方法

    本篇文章将详细探讨adb错误的常见类型以及解决方法。 首先,最常见的adb错误是“设备未找到”。这可能是因为驱动程序问题,我们需要确保安装了正确的USB驱动。对于不同型号的Android设备,可能需要下载并安装特定的...

    ADT 24.0.2 兼容 java 1.8

    修改 ADT 24.0.2 支持 java 1.8,Elipse 报如下错误的都可以:Android requires compiler compliance level 5.0 or 6.0. Found '1.8' instead.

Global site tag (gtag.js) - Google Analytics