zoukankan      html  css  js  c++  java
  • Mavne 打包时出现程序包找到不的问题

    <plugins>
    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>2.3.2</version>
    <configuration>
    <source>1.7</source>
    <target>1.7</target>
    <encoding>UTF-8</encoding>
    <failOnError>true</failOnError>
    <showDeprecation>true</showDeprecation>
    <showWarnings>true</showWarnings>

    <!-- 加上以下这句话,可能有用,可能没用,在网上搜索了一天,看到多次这个回答,还有查看jdk版本是否设置的一致-->

    <compilerArguments>
    <bootclasspath>${JAVA_HOME}/jre/lib/rt.jar</bootclasspath>
    <bootclasspath>${JAVA_HOME}/lib/jce.jar</bootclasspath>
    </compilerArguments> 

    </configuration>

  • 相关阅读:
    js 那些事二 javascript中的闭包理解
    Java单体应用
    Java单体应用
    Java单体应用
    Java单体应用
    Java单体应用
    Java单体应用
    Java入门
    Java入门
    Java入门
  • 原文地址:https://www.cnblogs.com/sanduweiliangxtx/p/5752032.html
Copyright © 2011-2022 走看看