Gradle,- bootstrap class 路径未与 -source 1.7 一起设置
Gradle,- bootstrap class path not set in conjunction with -source 1.7
我在使用 Gradle build 编译我的应用程序时观察到的一件事是,
:edb-core:compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.7
C:\java_dev\projects\workspace\FY18R3_edb\edb-core\dao\dell\services\dfsl\dao\LDAPEmployeeDao.java:16: warning: LdapCtxFactory is internal proprietary API and may be removed in a future release
import com.sun.jndi.ldap.LdapCtxFactory;
^
C:\java_dev\projects\workspace\FY18R3_edb\edb-core\dao\dell\services\dfsl\dao\LDAPEmployeeDao.java:74: warning: LdapCtxFactory is internal proprietary API and may be removed in a future release
env.put(Context.INITIAL_CONTEXT_FACTORY, LdapCtxFactory.class.getName());
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 warnings
这个错误有什么意义吗,因为我无法在 eclipse ide.
下启动我的 Weblogic AS & 运行
Error(s) found in module 'edb-core'. Publish was cancelled. See
"Problems" view for details. cvc-complex-type.2.4.c: The matching
wildcard is strict, but no declaration can be found for element
'ehcache:annotation-driven'. at app-config-test-virtual.xml
cvc-complex-type.2.4.c: The matching wildcard is strict, but no
declaration can be found for element 'ehcache:annotation-driven'. at
app-config.xml cvc-complex-type.2.4.c: The matching wildcard is
strict, but no declaration can be found for element
'ehcache:annotation-driven'. at app-config-test-dao.xml
我怎样才能摆脱这个问题Gradle,- bootstrap class path not set in conjunction with -source 1.7
我按照这个主题设置了 Java 1.7 的编译,但是问题仍然存在。
changing eclipse's java compiler to jdk7
在build.gradle中尝试设置:
sourceCompatibility = 1.7
targetCompatibility = 1.7
我在使用 Gradle build 编译我的应用程序时观察到的一件事是,
:edb-core:compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.7
C:\java_dev\projects\workspace\FY18R3_edb\edb-core\dao\dell\services\dfsl\dao\LDAPEmployeeDao.java:16: warning: LdapCtxFactory is internal proprietary API and may be removed in a future release
import com.sun.jndi.ldap.LdapCtxFactory;
^
C:\java_dev\projects\workspace\FY18R3_edb\edb-core\dao\dell\services\dfsl\dao\LDAPEmployeeDao.java:74: warning: LdapCtxFactory is internal proprietary API and may be removed in a future release
env.put(Context.INITIAL_CONTEXT_FACTORY, LdapCtxFactory.class.getName());
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 warnings
这个错误有什么意义吗,因为我无法在 eclipse ide.
下启动我的 Weblogic AS & 运行Error(s) found in module 'edb-core'. Publish was cancelled. See "Problems" view for details. cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'ehcache:annotation-driven'. at app-config-test-virtual.xml cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'ehcache:annotation-driven'. at app-config.xml cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'ehcache:annotation-driven'. at app-config-test-dao.xml
我怎样才能摆脱这个问题Gradle,- bootstrap class path not set in conjunction with -source 1.7
我按照这个主题设置了 Java 1.7 的编译,但是问题仍然存在。
changing eclipse's java compiler to jdk7
在build.gradle中尝试设置:
sourceCompatibility = 1.7
targetCompatibility = 1.7