Note: Some input files use or override a deprecated API. ( It simply means that you are calling methods which have been marked with a @Deprecated annotation.) Note: Recompile with -Xlint:deprecation for details. (Probably, that is because you need to declare a List object, say (e.g.), without omitting '<' and '>': List < Integer > list = new ArrayList < Integer >();) Note: Some input files use unchecked or unsafe operations. ( for example when you call a function that returns Generic Collections and you don't specify the generic parameters yourself. for a function List < String > getNames () List names = obj . getNames (); will generate this error. To solve it you would just add the parameters List < String > names = obj . getNames ();) Note: Recompile with -Xlint:unchecked for details. ( From what I can tell in the docs, you can't do it on the command-line. According to the javac documentati...
Error ? Caused by: java.time.temporal.UnsupportedTemporalTypeException: Unsupported field: MinuteOfHour Solution : LocalDate represents just a date, not a DateTime. So "HH:mm:ss" make no sense when formatting a LocalDate . Use a LocalDateTime instead, assuming you want to represent both a date and time. Take a close look !! MinuteOfHour is unsupported /** Map of letters to fields. */ private static final Map < Character , TemporalField > FIELD_MAP = new HashMap <>(); static { FIELD_MAP . put ( 'G' , ChronoField . ERA ); FIELD_MAP . put ( 'y' , ChronoField . YEAR_OF_ERA ); FIELD_MAP . put ( 'u' , ChronoField . YEAR ); FIELD_MAP . put ( 'Q' , IsoFields . QUARTER_OF_YEAR ); FIELD_MAP . put ( 'q' , IsoFields . QUARTER_OF_YEAR ); FIELD_MAP . put ( 'M' , ChronoField . MONTH_OF_YEAR ); FIELD_MAP . put ( 'L' , ChronoField . MONTH_OF_YEAR ); FIELD_MAP . put (...
net.sf.jasperreports.engine.JRException: net.sf.jasperreports.engine.JRException: Error executing SQL statement for: arrivagk. at com.jaspersoft.studio.editor.preview.view.control.ReportControler.fillReport(ReportControler.java:537) at com.jaspersoft.studio.editor.preview.view.control.ReportControler.access$20(ReportControler.java:512) at com.jaspersoft.studio.editor.preview.view.control.ReportControler$5.run(ReportControler.java:393) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: net.sf.jasperreports.engine.JRException: Error executing SQL statement for: arrivagk. at net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.createDatasource(JRJdbcQueryExecuter.java:344) at net.sf.jasperreports.engine.fill.JRFillDataset.createQueryDatasource(JRFillDataset.java:1129) at net.sf.jasperreports.engine.fill.JRFillDataset.initDatasource(JRFillDataset.java:696) at net.sf.jasperreports.engine.fill.BaseReportFiller.setParameters(BaseReportFiller.java:437) ...
Commentaires
Enregistrer un commentaire