I am Getting Java Compliation Error while implementing Email module Template
Buildfile: D:\UserData\z004pu7h\OneDrive - Siemens AG\Documents\Mendix\VeStaR-main\deployment\build_core.xml compile: [javac] Compiling 483 source files to D:\UserData\z004pu7h\OneDrive - Siemens AG\Documents\Mendix\VeStaR-main\deployment\run\bin [javac] D:\UserData\z004pu7h\OneDrive - Siemens AG\Documents\Mendix\VeStaR-main\javasource\encryption\pgp\PGPUtils.java:362: error: cannot find symbol [javac] spGen.addSignerUserID(false, it.next()); [javac] ^ [javac] symbol: method addSignerUserID(boolean,String) [javac] location: variable spGen of type PGPSignatureSubpacketGenerator [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 error BUILD FAILED D:\UserData\z004pu7h\OneDrive - Siemens AG\Documents\Mendix\VeStaR-main\deployment\build_core.xml:30: Compile failed; see the compiler error output for details. Total time: 1 minute 0 seconds
Hi Prashant M,
If Ganesh’s answer doesn't work, you could try checking if you need to update the marketplace module Encryption to use the version v.8.0.5 (due to the Studio Pro version that you are currently using) to see if that fixes the issue.
I hope that helps, regards!
Looks like something to do with this One Drive directory in which you are trying to compile it.
would it be possible for you to try the same application on a different folder? say in d:\\mendix\<your project root folder>
There is an issue in PGPUtils.java file and as mentioned addSingnerUserID() is not found, which means there is a library/jar file which has this method and it is not found in userlib folder. You can add it explicitly or if you don't going to use this Java action, you can exclude it from the project (remove this Java file from the project folder).
Also one suggestion, please make sure you don't share everything of the error (hint : check folder path )