0

I have this warning:

   warning: Supported source version 'RELEASE_6' from annotation processor
   org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor' less than -source
   '1.7'
   Note: Creating non-static metadata factory ...
   Note: Found Option : eclipselink.canonicalmodel.use_static_factory, with value: false
   Note: Optional file was not found: META-INF/orm.xml continuing with generation.
   Note: Optional file was not found: META-INF/eclipselink-orm.xml continuing with
   generation.
   Note: Found Option : eclipselink.canonicalmodel.use_static_factory, with value: false
   Note: Optional file was not found: META-INF/orm.xml continuing with generation.
   Note: Optional file was not found: META-INF/eclipselink-orm.xml continuing with
   generation.
   warning: The following options were not recognized by any processor:
   '[eclipselink.canonicalmodel.use_static_factory]'
   Note: Some input files use unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   1 warning
   Copying 5 files to E:\NetBeansProjects\votaciones\build\classes
   compile:
   Created dir: E:\NetBeansProjects\votaciones\dist
   Copying 1 file to E:\NetBeansProjects\votaciones\build
   Copy libraries to E:\NetBeansProjects\votaciones\dist\lib.
   Building jar: E:\NetBeansProjects\votaciones\dist\votaciones.jar
   To run this application from the command line without Ant, try:
   java -jar "E:\NetBeansProjects\votaciones\dist\votaciones.jar"
   jar:
BUILD SUCCESSFUL (total time: 8 seconds)

what happen?

4

1 回答 1

0

它说构建成功。第一个警告是说您使用 Java 7(1.7),而源代码支持 Java 6 (1.6)。第二次waring是第一次waring的结果。如果您的应用程序有效,我认为没有任何问题。如果它不起作用,请尝试使用 java 1.6 或获取支持 java 1.7 的更新版本。

于 2013-03-10T00:08:17.103 回答