Skip to content

Compilation of java actions failed - Mendix 7.11.0 #5

Description

@abdulgaffarabu

I've imported and configured it with main application and no errors were occurred. But i got compile-time error while the applicaiton.

Versions:
SFTP Connection 4.1
Mendix 7.11.0

Buildfile: D:\Workspace\Codebase\Main\deployment\build_core.xml

compile:
    [javac] Compiling 238 source files to D:\Workspace\MMD\Codebase\Main\deployment\run\bin
    [javac] D:\Workspace\Codebase\Main\javasource\encryption\actions\GeneratePGPKeyRing.java:74: error: cannot find symbol
    [javac] 		char pass[] = this.PrivateKey.getPassPhrase_Plain().toCharArray();
    [javac] 		                  ^
    [javac]   symbol: variable PrivateKey
    [javac] D:\Workspace\Codebase\Main\javasource\encryption\actions\GeneratePGPKeyRing.java:75: error: cannot find symbol
    [javac] 		PGPKeyRingGenerator krgen = generateKeyRingGenerator(this.PrivateKey.getEmailAddress(), pass);
    [javac] 		                                                         ^
    [javac]   symbol: variable PrivateKey
    [javac] D:\Workspace\Codebase\Main\javasource\encryption\actions\GeneratePGPKeyRing.java:91: error: cannot find symbol
    [javac] 		Core.storeFileDocumentContent(getContext(), this.PublicKey.getMendixObject(), pubFilename, new FileInputStream(tempASC));
    [javac] 		                                                ^
    [javac]   symbol: variable PublicKey
    [javac] D:\Workspace\Codebase\Main\javasource\encryption\actions\GeneratePGPKeyRing.java:109: error: cannot find symbol
    [javac] 		Core.storeFileDocumentContent(getContext(), this.PrivateKey.getMendixObject(), skrFilename, new FileInputStream(tempSKR));
    [javac] 		                                                ^
    [javac]   symbol: variable PrivateKey
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 4 errors

BUILD FAILED
D:\Workspace\Codebase\Main\deployment\build_core.xml:29: Compile failed; see the compiler error output for details.

Total time: 3 seconds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions