openjdk-11

Error when compiling Jasper Reports using Jasper Reports API 6.13.0 with Adopt OpenJDK 11

穿精又带淫゛_ 提交于 2021-02-05 08:46:16
问题 we have a utility (CompileJasperReports.jar) that we use to compile all reports found in a folder When using JasperReports 6.7 API with Java 8 the utility runs fine. The call is "C:\Program Files\Java\jdk1.8.0_172\bin\java" -jar CompileJasperReports.jar <in-folder containing .jrxml files> <out-folder for .jasper files> These are the jars that are used by the CompileJasperReports.jar jasperreports-6.7.0.jar commons-beanutils-1.9.3.jar commons-collections-3.2.2.jar commons-digester-2.1.jar

Error when compiling Jasper Reports using Jasper Reports API 6.13.0 with Adopt OpenJDK 11

若如初见. 提交于 2021-02-05 08:46:09
问题 we have a utility (CompileJasperReports.jar) that we use to compile all reports found in a folder When using JasperReports 6.7 API with Java 8 the utility runs fine. The call is "C:\Program Files\Java\jdk1.8.0_172\bin\java" -jar CompileJasperReports.jar <in-folder containing .jrxml files> <out-folder for .jasper files> These are the jars that are used by the CompileJasperReports.jar jasperreports-6.7.0.jar commons-beanutils-1.9.3.jar commons-collections-3.2.2.jar commons-digester-2.1.jar

proguard: Can't find common super class of org/apache/poi/hpbf/extractor/PublisherTextExtractor

非 Y 不嫁゛ 提交于 2021-01-29 19:25:14
问题 I am building a desktop application (using OpenJDK11, Maven). I am using ProGuard with the following config: @proguard_jmods.cfg #-dontshrink -dontoptimize #-dontobfuscate -optimizations !class/unboxing/enum -repackageclasses '' -renamesourcefileattribute SourceFile -keepattributes *Annotation*,Signature,Annotation,InnerClasses,EnclosingMethod,SourceFile,LineNumberTable -adaptresourcefilenames -dontnote -dontwarn com.ctc.wstx.**,com.github.**,com.jolbox.bonecp.**,com.mchange.v2.**,com.sun

Springboot HttpMessageNotWritableException: No converter for […] with preset Content-Type 'null']

只谈情不闲聊 提交于 2021-01-28 23:32:55
问题 I try create web API with XML and JSON with Springboot 2.2.4.RELEASE + JDK11 and java 8 compilation. my model: @XmlRootElement public class DataModel { private List<String> columns; private List<Row> rows; public List<String> getColumns() { return columns; } public void setColumns(List<String> columns) { this.columns = columns; } public List<Row> getRows() { return rows; } public void setRows(List<Row> rows) { this.rows = rows; } } my controller: @RequestMapping(value = "/{model}/columns",

Springboot HttpMessageNotWritableException: No converter for […] with preset Content-Type 'null']

一个人想着一个人 提交于 2021-01-28 23:27:01
问题 I try create web API with XML and JSON with Springboot 2.2.4.RELEASE + JDK11 and java 8 compilation. my model: @XmlRootElement public class DataModel { private List<String> columns; private List<Row> rows; public List<String> getColumns() { return columns; } public void setColumns(List<String> columns) { this.columns = columns; } public List<Row> getRows() { return rows; } public void setRows(List<Row> rows) { this.rows = rows; } } my controller: @RequestMapping(value = "/{model}/columns",

Springboot HttpMessageNotWritableException: No converter for […] with preset Content-Type 'null']

纵饮孤独 提交于 2021-01-28 22:27:50
问题 I try create web API with XML and JSON with Springboot 2.2.4.RELEASE + JDK11 and java 8 compilation. my model: @XmlRootElement public class DataModel { private List<String> columns; private List<Row> rows; public List<String> getColumns() { return columns; } public void setColumns(List<String> columns) { this.columns = columns; } public List<Row> getRows() { return rows; } public void setRows(List<Row> rows) { this.rows = rows; } } my controller: @RequestMapping(value = "/{model}/columns",

Running Derby as a server on Linux using JDK11

孤街浪徒 提交于 2020-06-28 08:35:22
问题 I am at my wits end! I have a minimal install of Ubuntu Server 18.04 and OpenJDK 11 (headless). Downloaded, to a local folder are the java 9+ binaries for Derby (db-derby-10.15.2.0-bin) Path and Environment settings are all correct! When I start the server startNetworkServer -h 0.0.0.0 , I get an error when doing a simple connect using the ij command line tool ij> connect 'jdbc:derby://localhost:1527/dbname;create=true'; ERROR XJ041: DERBY SQL error: ERRORCODE: 40000, SQLSTATE: XJ041,

What's the magic behind ScalaFX to make OpenJDK 9+ actually work?

混江龙づ霸主 提交于 2020-06-24 22:18:46
问题 Environment : OpenJDK 64-Bit Server VM Zulu12.2+3-CA (build 12.0.1+12, mixed mode, sharing) Scala 2.12.7 Windows 10 Professional, X86_64 IntelliJ IDEA 2019.1.3 (Ultimate Edition) I checked out the scalafx-hello-world from GitHub, built and ran it in IntelliJ and it worked all fine. Here quickly the significant application implementation: package hello import scalafx.application.JFXApp import scalafx.application.JFXApp.PrimaryStage import scalafx.geometry.Insets import scalafx.scene.Scene

How to read value of java annotation with JDK8 and JDK11?

痞子三分冷 提交于 2020-04-18 06:10:49
问题 How to read value of java annotation with JDK8 and JDK11? import io.cucumber.java.en.When; public class Sof { private static final Logger log = LoggerFactory.getLogger(Sof.class); @When(value = "I update text {string} with {string}(\\?)") public static void main(String[] args) { Class c = Sof.class; Method[] methods = c.getMethods(); Method method = null; for (Method m : methods) { if (m.getName().equals("main")) { method = m; } } Annotation stepAnnotation = method.getAnnotation(When.class);

Installing OpenJdk11 OpenJ9 on AWS Beanstalk

怎甘沉沦 提交于 2020-01-16 12:30:38
问题 I'm setting up a spring boot 2 java 11 application on AWS Beanstalk. The latest version of Java supported on it is 8. I want to install the java 11 version on it. What are the different ways in which it can be done with detailed steps. I have tried the solution mentioned here- Java 11 on AWS beanstalk for Spring boot project. But this hasn't worked. 来源: https://stackoverflow.com/questions/58856955/installing-openjdk11-openj9-on-aws-beanstalk