You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2013/11/02 13:11:20 UTC
[jira] [Commented] (PDFBOX-1768) cannot build last source code
[ https://issues.apache.org/jira/browse/PDFBOX-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13811958#comment-13811958 ]
Andreas Lehmkühler commented on PDFBOX-1768:
--------------------------------------------
Works fine for the current trunk. Are you sure to use the most recent version of build.xml as we updated the bouncycastle libs some time ago?
> cannot build last source code
> -----------------------------
>
> Key: PDFBOX-1768
> URL: https://issues.apache.org/jira/browse/PDFBOX-1768
> Project: PDFBox
> Issue Type: Bug
> Components: Signing
> Affects Versions: 1.8.3, 2.0.0
> Environment: Win8.1, Eclipse
> Reporter: David KELLER
>
> When i run pdfbox ant build.xml I have this issue :
> [javac] D:\_sources\eclipse_legalbox\pdfbox\pdfbox\src\main\java\org\apache\pdfbox\pdmodel\encryption\PDEncryptionManager.java:46: warning: [deprecation] PDStandardEncryption in org.apache.pdfbox.pdmodel.encryption has been deprecated
> [javac] registerSecurityHandler( PDStandardEncryption.FILTER_NAME, PDStandardEncryption.class );
> [javac] ^
> [javac] D:\_sources\eclipse_legalbox\pdfbox\pdfbox\src\main\java\org\apache\pdfbox\pdmodel\encryption\PublicKeySecurityHandler.java:391: error: incompatible types
> [javac] ASN1Primitive derobject = asn1inputstream.readObject();
> [javac] ^
> [javac] required: ASN1Primitive
> [javac] found: DERObject
> [javac] D:\_sources\eclipse_legalbox\pdfbox\pdfbox\src\main\java\org\apache\pdfbox\pdmodel\encryption\PublicKeySecurityHandler.java:407: error: cannot find symbol
> [javac] return contentinfo.toASN1Primitive();
> [javac] ^
> [javac] symbol: method toASN1Primitive()
> [javac] location: variable contentinfo of type ContentInfo
--
This message was sent by Atlassian JIRA
(v6.1#6144)