我变得有点疯狂,因为我找不到在使用maven构建的java war项目中设置角度4 app的指南.这是因为我想将它运行到wildfly服务器中.
有帮助吗?
谢谢
我需要在java(使用itext)中创建以下xmp元数据并将其放在我的一个pdf中.
<rdf:Description rdf:about="" xmlns:pdfaExtension="http://www.aiim.org/pdfa/ns/extension/" xmlns:pdfaSchema="http://www.aiim.org/pdfa/ns/schema#" xmlns:pdfaProperty="http://www.aiim.org/pdfa/ns/property#" xmlns:pdfaType="http://www.aiim.org/pdfa/ns/type#" xmlns:pdfaField="http://www.aiim.org/pdfa/ns/field#"> <pdfaExtension:schemas>
<rdf:Bag>
<rdf:li rdf:parseType="Resource">
<pdfaSchema:schema>ABI Assegni Schema</pdfaSchema:schema> <pdfaSchema:namespaceURI>http://abi.it/std/cheque/xmlns</pdfaSchema:namespaceURI> <pdfaSchema:prefix>assegni</pdfaSchema:prefix>
<pdfaSchema:property>
<rdf:Seq>
<rdf:li rdf:parseType="Resource">
<pdfaProperty:name>IDDocumento</pdfaProperty:name> <pdfaProperty:valueType>Text</pdfaProperty:valueType> <pdfaProperty:category>external</pdfaProperty:category> <pdfaProperty:description>Identificativo univoco del documento</pdfaProperty:description>
</rdf:li>
<rdf:li rdf:parseType="Resource">
<pdfaProperty:name>datachiusura</pdfaProperty:name> <pdfaProperty:valueType>Date</pdfaProperty:valueType> <pdfaProperty:category>external</pdfaProperty:category> <pdfaProperty:description>Data e ora della produzione del file</pdfaProperty:description>
</rdf:li>
<rdf:li rdf:parseType="Resource">
<pdfaProperty:name>oggettodocumento</pdfaProperty:name> <pdfaProperty:valueType>Text</pdfaProperty:valueType> <pdfaProperty:category>external</pdfaProperty:category> <pdfaProperty:description>Oggetto del documento</pdfaProperty:description>
</rdf:li>
<rdf:li rdf:parseType="Resource">
<pdfaProperty:name>soggettoproduttore</pdfaProperty:name> <pdfaProperty:valueType>soggetto</pdfaProperty:valueType> <pdfaProperty:category>external</pdfaProperty:category> <pdfaProperty:description>Soggetto produttore</pdfaProperty:description>
</rdf:li>
<rdf:li rdf:parseType="Resource">
<pdfaProperty:name>destinatario</pdfaProperty:name> <pdfaProperty:valueType>soggetto</pdfaProperty:valueType> <pdfaProperty:category>external</pdfaProperty:category> <pdfaProperty:description>Destinatario</pdfaProperty:description>
</rdf:li> </rdf:Seq>
</pdfaSchema:property>
</rdf:li>
</rdf:Bag>
</pdfaExtension:schemas>
</rdf:Description>
Run Code Online (Sandbox Code Playgroud)
到现在为止我尝试了这部分代码:
PdfReader reader = new PdfReader(baos.toByteArray());
PdfAStamper stamper …Run Code Online (Sandbox Code Playgroud) 自从ios13发布以来,由于与后端的tls连接错误,我的iOS应用程序中出现了一个奇怪的问题。如果我尝试通过模拟器(iOS 13)连接到后端,则可以正常工作,如果我在物理设备(iOS 13.1)上安装了该应用程序,则由于以下原因我无法连接:
2019-10-01 13:24:12.862510+0200 CopApp[1830:506662] [] tcp_input [C1.1:3] flags=[R.] seq=2608024828, ack=2612553500, win=28408 state=ESTABLISHED rcv_nxt=2608024828, snd_una=2612553500
2019-10-01 13:24:12.869115+0200 CopApp[1830:506662] Connection 1: received failure notification
2019-10-01 13:24:12.869360+0200 CopApp[1830:506662] Connection 1: received ECONNRESET with incomplete TLS handshake - generating errSSLClosedNoNotify
2019-10-01 13:24:12.869526+0200 CopApp[1830:506662] Connection 1: failed to connect 3:-9816, reason -1
2019-10-01 13:24:12.869684+0200 CopApp[1830:506662] Connection 1: encountered error(3:-9816)
2019-10-01 13:24:28.124012+0200 CopApp[1830:506782] [] tcp_input [C2.1:3] flags=[R.] seq=3652579464, ack=755757394, win=28408 state=ESTABLISHED rcv_nxt=3652579464, snd_una=755757394
2019-10-01 13:24:28.128402+0200 CopApp[1830:506782] Connection 2: received failure notification
2019-10-01 13:24:28.128627+0200 CopApp[1830:506782] …Run Code Online (Sandbox Code Playgroud) amazon-web-services swift tls1.2 aws-certificate-manager ios13
我正在将我的应用程序从wildfly 10 迁移到wildfly 14,并且我正在将resteasy 3.1.4 与jackson2 一起使用。我对某些休息服务的响应有一种奇怪的行为:并非所有字段都返回(我确定它们是从 mongodb 中提取的)。我在部署应用程序时看到的唯一警告是:WFLYRS0018:在 JAX-RS 部署中显式使用 Jackson 注释;系统将禁用当前部署的 JSON-B 处理。考虑将 'resteasy.preferJacksonOverJsonB' 属性设置为 'false' 以恢复 JSON-B。
在响应中,我有两个类: public class Field implements Serializable {
private static final long serialVersionUID = -230381150649916138L;
private String name; // returned in response
private FieldsTypeEnum type; // NOT returned in response
private List<String> comboValues; // NOT returned in response
private boolean required; // NOT returned in response
//All getters and setters
}
public class ConfigurationField extends Field {
private static final long …Run Code Online (Sandbox Code Playgroud) 我正在尝试构建我在 angular7 中开发的 Web 应用程序的生产版本,并且编译运行良好。但是当我尝试导航到该应用程序时,会在控制台中引发错误:
Uncaught TypeError: ctor is not a constructor
at _createClass (main.07add232d9f568bb2d7a.js:33609)
at _createProviderInstance (main.07add232d9f568bb2d7a.js:33583)
at initNgModule (main.07add232d9f568bb2d7a.js:33514)
at new NgModuleRef_ (main.07add232d9f568bb2d7a.js:34243)
at Object.createNgModuleRef (main.07add232d9f568bb2d7a.js:34232)
at NgModuleFactory_.push../node_modules/@angular/core/fesm5/core.js.NgModuleFactory_.create (main.07add232d9f568bb2d7a.js:36793)
at main.07add232d9f568bb2d7a.js:30443
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (polyfills.a8a979dc29215b620775.js:396)
at Object.onInvoke (main.07add232d9f568bb2d7a.js:29978)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (polyfills.a8a979dc29215b620775.js:395)
Run Code Online (Sandbox Code Playgroud)
我该如何解决?我不明白哪个图书馆出了问题。这是我的 package.json
{
"name": "cop-ang",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^7.1.4",
"@angular/common": "^7.1.4",
"@angular/compiler": "^7.1.4",
"@angular/core": …Run Code Online (Sandbox Code Playgroud)