error information: [javac] /home/print/cur_branch/regular/Core/src/com/netease/print/dao/impl/cache/AbstractDaoCacheImpl.java:22: 无法确定 <T>T 的类型参数;对于上限为 T,java.lang.Object 的类型变量 T,不存在唯一最大实例 [javac] return RequestScopeCacheHolder.getCache().getObject(this.getKeyPrefix(), subKey); "无法确定 <T>T 的类型参数;对于上限为 T,java.lang.Object 的类型变量 T,不存在唯一最大实例"----------"can't define <T>T's type parameter,for variable T in java.lang.Object type which upper limit is T,hasn't unique most instance"
jdk version is 1.5,ant version is 1.7,and build.xml: <target depends="clean" name="compile"> <mkdir dir="${classes.dir}"/> <javac destdir="${classes.dir}" source="1.5" target="1.5" debug="true" deprecation="false" optimize="false" failonerror="true" fork="true"> <src path="${coresrc.dir}"/> <classpath refid="core-master-classpath"/> </javac> <copy todir="${classes.dir}" preservelastmodified="true"> <fileset dir="${coresrc.dir}"> <include name="**/*.xml"/> <include name="**/*.ftl"/> <include name="**/*.properties"/> <include name="**/*.deploy"/> <include name="**/*.key"/> <include name="**/*.ccf"/> <include name="**/*.txt"/> <include name="**/*.conf"/> <include name="**/*.drl"/> </fileset> </copy> -- View this message in context: http://www.nabble.com/javac-error-tp22117945p22117945.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org